Commit f8b3aa55ad7ca9adc5dd6489259573ade54c34b5
1 parent
10daf9648a
Exists in
master
and in
6 other branches
改bug
Showing 1 changed file with 5 additions and 5 deletions
platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml
View file @
f8b3aa5
... | ... | @@ -383,12 +383,12 @@ |
383 | 383 | and b.coupon_order = #{coupon_order} |
384 | 384 | </if> |
385 | 385 | <if test="startDate != null"> |
386 | - and a.use_date >= #{startDate} | |
386 | + and a.create_date >= #{startDate} | |
387 | 387 | </if> |
388 | 388 | <if test="endDate != null"> |
389 | - and a.use_date <![CDATA[ < ]]> #{endDate} | |
389 | + and a.create_date <![CDATA[ < ]]> #{endDate} | |
390 | 390 | </if> |
391 | - order by a.use_date desc, a.user_id desc | |
391 | + order by a.create_date desc, a.user_id desc | |
392 | 392 | <if test="needPage == true"> |
393 | 393 | limit #{currentPage},#{pageSize} |
394 | 394 | </if> |
395 | 395 | |
... | ... | @@ -714,10 +714,10 @@ |
714 | 714 | #{type} |
715 | 715 | </foreach> |
716 | 716 | <if test="startDate != null"> |
717 | - and a.use_date_date >= #{startDate} | |
717 | + and a.create_date >= #{startDate} | |
718 | 718 | </if> |
719 | 719 | <if test="endDate != null"> |
720 | - and a.use_date <![CDATA[ < ]]> #{endDate} | |
720 | + and a.create_date <![CDATA[ < ]]> #{endDate} | |
721 | 721 | </if> |
722 | 722 | ) a left join users b on a.create_user_id = b.id order by a.create_date desc |
723 | 723 |