瀏覽代碼

修复活动参与记录按订单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
         <where>
             <if test="queryDTO.orderId != null">
-                and app.order_id = #{queryDTO.orderId}
+                and apr.order_id = #{queryDTO.orderId}
             </if>
             <if test="queryDTO.orderPayStatus != null and queryDTO.orderPayStatus != ''">
                 and o.is_pay = #{queryDTO.orderPayStatus}