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} +