소스 검색

修复活动参与记录按订单id查询报错问题

codingliang 1 년 전
부모
커밋
824b889a2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/activity/ActivityPartRecordDao.xml

+ 1 - 1
src/main/resources/mapper/activity/ActivityPartRecordDao.xml

@@ -40,7 +40,7 @@
                 left join goods_shop gh on gh.shop_id = o.shop_id
                 left join goods_shop gh on gh.shop_id = o.shop_id
         <where>
         <where>
             <if test="queryDTO.orderId != null">
             <if test="queryDTO.orderId != null">
-                and app.order_id = #{queryDTO.orderId}
+                and apr.order_id = #{queryDTO.orderId}
             </if>
             </if>
             <if test="queryDTO.orderPayStatus != null and queryDTO.orderPayStatus != ''">
             <if test="queryDTO.orderPayStatus != null and queryDTO.orderPayStatus != ''">
                 and o.is_pay = #{queryDTO.orderPayStatus}
                 and o.is_pay = #{queryDTO.orderPayStatus}