diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index 994f3e18e..0147a1c29 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -154,7 +154,7 @@ select from wx_coupon_order co,wx_order o,wx_coupon c,wx_c_user cu where o.id = co.order_id - and o.merchant_id = #{merchantID} + and o.merchant_id = #{merchantId} and co.coupon_id = c.id and cu.id = co.c_user_id @@ -171,7 +171,7 @@ select from wx_coupon_order co,wx_order o,wx_coupon c,wx_c_user cu,wx_merchant_b_user bu where o.id = co.order_id - and o.merchant_id = #{merchantID} + and o.merchant_id = #{merchantId} and co.coupon_id = c.id and cu.id = co.c_user_id and bu.id = co.b_user_id