diff --git a/mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml b/mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml index 1da6b1d7e..425411e52 100644 --- a/mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml @@ -156,10 +156,10 @@ and ci.`update_date` = #{updateDate} - and status = #{status} + and co.`coupon_order_status` = #{status} - and ou_phone = #{ouPhone} + and ou.`phone` = #{ouPhone} and ci.`create_date` between #{startdate} and #{enddate} diff --git a/mallinkService/src/main/resources/mapper/WxCardSpendMapper.xml b/mallinkService/src/main/resources/mapper/WxCardSpendMapper.xml index a6189fd9f..26741174e 100644 --- a/mallinkService/src/main/resources/mapper/WxCardSpendMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCardSpendMapper.xml @@ -174,7 +174,7 @@ and cs.`update_date` = #{updateDate} - and ou_phone = #{ouPhone} + and ou.`phone` = #{ouPhone} and cs.`create_date` between #{startdate} and #{enddate}