修复后台退款原因、时间为空问题

This commit is contained in:
taozi
2022-01-28 22:55:50 +08:00
parent a8bf8085f7
commit 5ccc963b2d

View File

@ -92,6 +92,9 @@ public class StoreAfterSalesServiceImpl extends BaseServiceImpl<StoreAfterSalesM
//更新订单状态
yxStoreOrder.setStatus(-1);
yxStoreOrder.setRefundStatus(OrderInfoEnum.REFUND_STATUS_1.getValue());
yxStoreOrder.setRefundReasonWap(storeAfterSalesParam.getReasonForApplication());
yxStoreOrder.setRefundReasonWapExplain(storeAfterSalesParam.getApplicationInstructions());
yxStoreOrder.setRefundReasonTime(new Date());
storeOrderMapper.updateById(yxStoreOrder);
//生成售后订单
StoreAfterSales storeAfterSales = new StoreAfterSales();