From 2327098a0227b8318f0540b58f2b57226f6b634e Mon Sep 17 00:00:00 2001 From: litao Date: Mon, 5 Jun 2017 09:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E8=A7=84=E5=88=99=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f114a66..b0c2f1a 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -63,7 +63,7 @@ select a.create_date, b.name, b.title, b.show_start, b.show_end, b.unit_type, b.content, a.sequence_id, a.status from coupon_info a, coupon_template b, coupon_type c, hospital_coupon_template_group d 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} - order by c.type, b.coupon_order + order by c.type desc, b.coupon_order desc