Commit 106c38e4dedf5bdcb81d3df4670c1c45ebdd6c0f

Authored by litao@lymsh.com
1 parent 31d0897e96

优惠券统计的时间改为使用时间

Showing 1 changed file with 2 additions and 2 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ 106c38e
... ... @@ -866,10 +866,10 @@
866 866 #{uid}
867 867 </foreach>
868 868 <if test="startDate != null">
869   - and a.use_date >= #{startDate}
  869 + and a.create_date >= #{startDate}
870 870 </if>
871 871 <if test="endDate != null">
872   - and a.use_date <![CDATA[ < ]]> #{endDate}
  872 + and a.create_date <![CDATA[ < ]]> #{endDate}
873 873 </if>
874 874 and a.coupon_template_id = b.id and b.type_id = c.id
875 875 and a.${hospitalFlag} = #{hid}