修改汇联通distributorId 原参数aNId4A3X修改为orjuOND7

dev
袁野 5 months ago
parent 8592835030
commit 820b16647d
  1. 13
      service/src/main/java/com/hfkj/service/order/impl/BsOrderAfterSalesApplyServiceImpl.java

@ -185,9 +185,7 @@ public class BsOrderAfterSalesApplyServiceImpl implements BsOrderAfterSalesApply
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "退款失败!" + orderRefund.getRefundFailReason());
}
} else if (OrderAfterSalesApplyTypeEnum.type2.getCode() == apply.getType()) {
apply.setStatus(OrderAfterSalesApplyStatusEnum.type3.getCode());
} else {
apply.setStatus(OrderAfterSalesApplyStatusEnum.type3.getCode());} else {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知申请类型");
}
@ -241,6 +239,15 @@ public class BsOrderAfterSalesApplyServiceImpl implements BsOrderAfterSalesApply
} else {
apply.setStatus(OrderAfterSalesApplyStatusEnum.type2.getCode());
BsOrderGoods bsOrderGoods = bsOrderGoodsService.findGoodsOrderByChild(apply.getChildOrderNo());
if (bsOrderGoods != null) {
bsOrderGoods.setStatus(2);
bsOrderGoods.setLogisticsStatus(null);
bsOrderGoods.setLogisticsStatusDesc(null);
bsOrderGoods.setUpdateTime(new Date());
bsOrderGoodsService.updateIsNull(bsOrderGoods);
}
}
// 操作记录

Loading…
Cancel
Save