diff --git a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml index d54226c..36c1b1d 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -152,16 +152,7 @@ and a.create_date >= #{startDate} - and a.create_date #{endDate} - - - and d.province_id = #{provinceId} - - - and d.city_id = #{cityId} - - - and d.area_id = #{areaId} + and a.create_date #{endDate} and e.coupon_template_group_id = #{tempId} @@ -199,16 +190,7 @@ and a.create_date >= #{startDate} - and a.create_date #{endDate} - - - and d.province_id = #{provinceId} - - - and d.city_id = #{cityId} - - - and d.area_id = #{areaId} + and a.create_date #{endDate} and e.coupon_template_group_id = #{tempId} @@ -289,16 +271,7 @@ and a.create_date >= #{startDate} - and a.create_date #{endDate} - - - and e.province_id = #{provinceId} - - - and e.city_id = #{cityId} - - - and e.area_id = #{areaId} + and a.create_date #{endDate} and f.coupon_template_group_id = #{tempId} @@ -319,16 +292,7 @@ and a.create_date >= #{startDate} - and a.create_date #{endDate} - - - and e.province_id = #{provinceId} - - - and e.city_id = #{cityId} - - - and e.area_id = #{areaId} + and a.create_date #{endDate} and f.coupon_template_group_id = #{tempId}