From 03a998a6970bd0a3f43dd8fbfb5e25b0753024dd Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期五, 02 八月 2019 17:07:47 +0800
Subject: [PATCH] 拼多多专题 今日热销
---
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 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 971ef8c..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,8 +49,8 @@
}
@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
@@ -59,10 +59,10 @@
}
@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