Commit c901851a by 周晓航

前置处理 会员服务校验 以及券作废校验

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent b3e6f2ac
...@@ -3409,12 +3409,12 @@ public class OrderServiceImpl implements Orderservice { ...@@ -3409,12 +3409,12 @@ public class OrderServiceImpl implements Orderservice {
return ResponseUtil.error(ResponseResult.OPERATE_NOT_SUPPORT, "会员服务调用失败"); return ResponseUtil.error(ResponseResult.OPERATE_NOT_SUPPORT, "会员服务调用失败");
} }
List<String> responsDTOData = responsDTO.getData(); List<String> responsDTOData = responsDTO.getData();
if (responsDTOData.retainAll(couponCodeList)) { if (CollectionUtils.isEmpty(responsDTOData) || !responsDTOData.retainAll(couponCodeList)) {
return ResponseUtil.success();
}
// fisherman 文案让产品提供 // fisherman 文案让产品提供
return ResponseUtil.error(ResponseResult.OPERATE_NOT_SUPPORT, "用户优惠券发生变动,无法退款"); return ResponseUtil.error(ResponseResult.OPERATE_NOT_SUPPORT, "用户优惠券发生变动,无法退款");
} }
return ResponseUtil.success();
}
/** /**
* 调用券码作废操作 * 调用券码作废操作
......
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