|
|
@ -185,9 +185,7 @@ public class BsOrderAfterSalesApplyServiceImpl implements BsOrderAfterSalesApply |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "退款失败!" + orderRefund.getRefundFailReason()); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "退款失败!" + orderRefund.getRefundFailReason()); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (OrderAfterSalesApplyTypeEnum.type2.getCode() == apply.getType()) { |
|
|
|
} else if (OrderAfterSalesApplyTypeEnum.type2.getCode() == apply.getType()) { |
|
|
|
apply.setStatus(OrderAfterSalesApplyStatusEnum.type3.getCode()); |
|
|
|
apply.setStatus(OrderAfterSalesApplyStatusEnum.type3.getCode());} else { |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知申请类型"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知申请类型"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -241,6 +239,15 @@ public class BsOrderAfterSalesApplyServiceImpl implements BsOrderAfterSalesApply |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
apply.setStatus(OrderAfterSalesApplyStatusEnum.type2.getCode()); |
|
|
|
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); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 操作记录
|
|
|
|
// 操作记录
|
|
|
|