Commit 2327098a0227b8318f0540b58f2b57226f6b634e

Authored by litao
1 parent 2bd6a1bc60

优惠券排序规则更改

Showing 1 changed file with 1 additions and 1 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ 2327098
... ... @@ -63,7 +63,7 @@
63 63 select a.create_date, b.name, b.title, b.show_start, b.show_end, b.unit_type, b.content, a.sequence_id, a.status
64 64 from coupon_info a, coupon_template b, coupon_type c, hospital_coupon_template_group d
65 65 where a.user_id = #{userId} and a.create_hospital_id = #{hospitalId} and a.coupon_template_id = b.id and b.type_id=c.id and d.hospital_id = #{hospitalId}
66   - order by c.type, b.coupon_order
  66 + order by c.type desc, b.coupon_order desc
67 67 </select>
68 68  
69 69 <select id="findValidateParam" parameterType="map" resultType="map">