From e183df7c49d3056379bbf65469d84409418ce4e4 Mon Sep 17 00:00:00 2001 From: luozukai Date: Sat, 29 Jun 2019 11:16:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=A1=E6=89=B9][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E5=85=A8=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E5=AE=A1=E6=89=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxFlowServiceImpl.java | 2 +- mallinkService/src/main/resources/mapper/WxCouponMapper.xml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java index 57aed2b56..fc448f44d 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java @@ -553,7 +553,7 @@ public class WxFlowServiceImpl implements WxFlowService { WxCoupon query = new WxCoupon(); query.setTenantId(tenantId); query.setId(businessId); - List couponList = wxCouponMapper.findCouponList(query); + List couponList = wxCouponMapper.findList(query); if(CollectionUtils.isNotEmpty(couponList)) { WxCoupon coupon = couponList.get(0); result = wxFlowRecordService.findList(new WxFlowRecord(businessId,tenantId,coupon.getApprovalType())); diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 6c90eab53..4f47ccd5d 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -446,7 +446,10 @@ from wx_coupon c - limit #{limitStart},#{limitEnd} + + + limit #{limitStart},#{limitEnd} +