Commit b5217d6e by 周晓航

Merge branch 'feature-zxh-20211109-替换券码查询接口-1039131'

parents 732ffd6c ec6d517a
...@@ -641,7 +641,7 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService { ...@@ -641,7 +641,7 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService {
if (activeDetailVO.getReceiveStartTime() != null && now.before(activeDetailVO.getReceiveStartTime())) { if (activeDetailVO.getReceiveStartTime() != null && now.before(activeDetailVO.getReceiveStartTime())) {
return ResponseUtil.error(ResponseResult.COUPON_INVAILD.getCode(),"您需要购买的券包,包含的优惠券券编号"+activeDetailVO.getTemplateCode()+"未到领券时间,请联系门店尽快处理"); return ResponseUtil.error(ResponseResult.COUPON_INVAILD.getCode(),"您需要购买的券包,包含的优惠券券编号"+activeDetailVO.getTemplateCode()+"未到领券时间,请联系门店尽快处理");
} }
if (activeDetailVO.getReceiveEndTime() != null && now.before(activeDetailVO.getReceiveEndTime())) { if (activeDetailVO.getReceiveEndTime() != null && now.after(activeDetailVO.getReceiveEndTime())) {
return ResponseUtil.error(ResponseResult.COUPON_INVAILD.getCode(),"您需要购买的券包,包含的优惠券券编号"+activeDetailVO.getTemplateCode()+"领券时间已结束,请联系门店尽快处理"); return ResponseUtil.error(ResponseResult.COUPON_INVAILD.getCode(),"您需要购买的券包,包含的优惠券券编号"+activeDetailVO.getTemplateCode()+"领券时间已结束,请联系门店尽快处理");
} }
// state = 1 || 2 可以买 // state = 1 || 2 可以买
......
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