Commit 94fb00acc6d04ad5f6da66972074b2b3891ac137

Authored by litao@lymsh.com
1 parent f8b3aa55ad

改bug

Showing 1 changed file with 3 additions and 3 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ 94fb00a
... ... @@ -299,10 +299,10 @@
299 299 #{type}
300 300 </foreach>
301 301 <if test="startDate != null">
302   - and b.use_date >= #{startDate}
  302 + and b.create_date >= #{startDate}
303 303 </if>
304 304 <if test="endDate != null">
305   - and b.use_date <![CDATA[ < ]]> #{endDate}
  305 + and b.create_date <![CDATA[ < ]]> #{endDate}
306 306 </if>
307 307 </select>
308 308  
... ... @@ -388,7 +388,7 @@
388 388 <if test="endDate != null">
389 389 and a.create_date <![CDATA[ < ]]> #{endDate}
390 390 </if>
391   - order by a.create_date desc, a.user_id desc
  391 + order by a.use_date desc, a.user_id desc
392 392 <if test="needPage == true">
393 393 limit #{currentPage},#{pageSize}
394 394 </if>