From f4548a3ee46afe45da4ee2a42dc169c575deee9f Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 31 七月 2019 11:57:36 +0800 Subject: [PATCH] 动态v2兼容 --- fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java index 7c51f69..cdd42bc 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java @@ -49,20 +49,20 @@ } @Override - public List<UserSystemCouponRecord> getRecordByOrderNoList(List<String> list) { - return userSystemCouponRecordMapper.getRecordByOrderNoList(list); + public List<UserSystemCouponRecord> getRecordByOrderNoList(Integer source, List<String> list) { + return userSystemCouponRecordMapper.getRecordByOrderNoList(source, list); } @Override - public List<UserSystemCouponRecord> getCouponByUsingTimeOut(Long uid, long seconds) { + public List<UserSystemCouponRecord> getCouponByUsingTimeOut(Long uid, Long seconds) { return userSystemCouponRecordMapper.getCouponByUsingTimeOut(uid, seconds); } @Override - public boolean isSuccessMianDan(String orderId) { + public boolean isSuccessMianDan(Integer source, String orderId) { List<String> orderList = new ArrayList<>(); orderList.add(orderId); - List<UserSystemCouponRecord> list = getRecordByOrderNoList(orderList); + List<UserSystemCouponRecord> list = getRecordByOrderNoList(source, orderList); for (UserSystemCouponRecord record : list) { if (record.getCouponType().equalsIgnoreCase(CouponTypeEnum.freeCoupon.name()) || record.getCouponType().equalsIgnoreCase(CouponTypeEnum.welfareFreeCoupon.name())) { -- Gitblit v1.8.0