Commit e5d486c6 by 周晓航

提交代码

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent c5ac5e7b
...@@ -42,6 +42,7 @@ import com.freemud.application.sdk.api.log.LogThreadLocal; ...@@ -42,6 +42,7 @@ import com.freemud.application.sdk.api.log.LogThreadLocal;
import com.freemud.application.sdk.api.log.ThirdPartyLog; import com.freemud.application.sdk.api.log.ThirdPartyLog;
import com.freemud.application.sdk.api.service.EmailAlertService; import com.freemud.application.sdk.api.service.EmailAlertService;
import com.google.common.base.Throwables; import com.google.common.base.Throwables;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -76,6 +77,9 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService ...@@ -76,6 +77,9 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService
@Override @Override
public BaseResponse verificationCoupon(List<QueryOrdersResponseDto.DataBean.OrderBean.AccountBean> accountList, QueryOrdersResponseDto.DataBean.OrderBean orderBean, CouponReqType couponReqType) { public BaseResponse verificationCoupon(List<QueryOrdersResponseDto.DataBean.OrderBean.AccountBean> accountList, QueryOrdersResponseDto.DataBean.OrderBean orderBean, CouponReqType couponReqType) {
if (CollectionUtils.isEmpty(accountList)) {
return ResponseUtil.success();
}
if (accountList.size() > 1) { if (accountList.size() > 1) {
Integer code = OrderAccountType.FREIGHT_COUPON.getCode(); Integer code = OrderAccountType.FREIGHT_COUPON.getCode();
// 运费券 塞进 核销接口里面, 这里真的是贼恶心 逻辑不敢动 // 运费券 塞进 核销接口里面, 这里真的是贼恶心 逻辑不敢动
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment