| | |
| | | } |
| | | _purchaseOrderDetailRepository.UpdateData(purchaseOrderDetail); |
| | | } |
| | | //ERP涓婃姤 |
| | | WebResponseContent responseContent = _checkOrderService.FeedbackCheckResult(checkOrder, checkOrderResult != null ? new List<Dt_CheckOrderResult> { checkOrderResult } : new List<Dt_CheckOrderResult>()); |
| | | if (!responseContent.Status) |
| | | if (string.IsNullOrEmpty(checkModel.CreatorCode)) |
| | | { |
| | | throw new Exception(responseContent.Message); |
| | | } |
| | | //ERP涓婃姤 |
| | | WebResponseContent responseContent = _checkOrderService.FeedbackCheckResult(checkOrder, checkOrderResult != null ? new List<Dt_CheckOrderResult> { checkOrderResult } : new List<Dt_CheckOrderResult>()); |
| | | if (!responseContent.Status) |
| | | { |
| | | throw new Exception(responseContent.Message); |
| | | } |
| | | } |
| | | checkOrder.UploadStatus = CheckUploadEnum.UploadOk.ObjToInt(); |
| | | _checkOrderRepository.UpdateData(checkOrder); |
| | | _unitOfWorkManage.CommitTran(); |