Commit ccd798dd by 徐高华

核销文案

parent 00ef4e4b
......@@ -256,7 +256,8 @@ public class GicOrderController {
OrderDetailDTO detail = ret.getResult();
logger.info("订单信息={}", JSON.toJSONString(ret, true));
if (ret.isSuccess()) {
if(detail.getOrderInfo().getOrderStep()==4) {
if(detail.getOrderInfo().getOrderStep()==4 && null != detail.getOrderInfo().getDeliveryOptType()
&& detail.getOrderInfo().getDeliveryOptType() != 1) {
logger.info("提货码已核销={}", writeOffCode);
return RestResponse.failure("9999", "提货码已核销");
}
......
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