|
|
|
@ -375,6 +375,9 @@ public class DsMessageServiceImpl implements DsMessageService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void handlePurchaseOrderAfterCancel(PurchaseOrderDTO purchaseOrderDTO, PurchaseOrder purchaseOrder) {
|
|
|
|
|
if (purchaseOrderDTO.getPurchaseOrderPayTime() != null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
Date updateTime = CommonTool.parseDate(purchaseOrderDTO.getPurchaseOrderUpdateTime());
|
|
|
|
|
purchaseOrder.setStatus(StatusConst.delete);
|
|
|
|
|
SupplyCenterOrderCancelParam param = new SupplyCenterOrderCancelParam();
|
|
|
|
|