ソースを参照

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

codingliang 1 年間 前
コミット
824b889a2e

+ 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}