From d5d0d54d8ba486a5b2b669fb16df824a129faaeb Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期五, 12 九月 2025 18:01:31 +0800 Subject: [PATCH] 新增iqc异常处置单接口 --- StandardPda/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/StandardPda/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs b/StandardPda/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs index dcdbff2..34d57b6 100644 --- a/StandardPda/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs +++ b/StandardPda/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs @@ -169,6 +169,11 @@ var single = base.GetSingle(it => it.ErpId == erpDto.ErpID); if (single != null) salesOrder.Id = single.Id; + if (salesOrder.ErpId is null || salesOrder.ErpId=="") + { + throw new NotImplementedException( + $"琛ㄥごErpID涓嶈兘涓虹┖"); + } return salesOrder; } @@ -264,7 +269,16 @@ FLINE_NO = erpDto.FLINE_NO }; - + if (salesOrderSub.ErpLineId is null || salesOrderSub.ErpLineId=="") + { + throw new NotImplementedException( + $"鏄庣粏琛孍rpID锛圗RP琛孖D锛変笉鑳戒负绌�"); + } + if (salesOrderSub.ErpHeadId is null || salesOrderSub.ErpHeadId == "") + { + throw new NotImplementedException( + $"鏄庣粏琛孍HID锛圗RP澶碔D锛変笉鑳戒负绌�"); + } var single = _SalesDeliveryDetailManager.GetSingle(it => it.ErpLineId == salesOrderSub.ErpLineId); if (single != null) salesOrderSub.Id = single.Id; -- Gitblit v1.9.3