From b46c4cb97b9b13c489e71d96581f68d1ed3351d1 Mon Sep 17 00:00:00 2001 From: zzr99 <1940172413@qq.com> Date: 星期一, 13 九月 2021 17:35:39 +0800 Subject: [PATCH] nothing --- WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs index 65cd472..0b47d2c 100644 --- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs +++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs @@ -112,6 +112,14 @@ BillNew.omodel.HMaterIDD = ClsPub.isStrNull(mainList[0].HMaterIDD); List<Model.ClsSc_ProcessExchangeBillSub> subList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcessExchangeBillSub>>(msg3); BillNew.DetailColl = new List<Model.ClsSc_ProcessExchangeBillSub>(); + if (BillNew.omodel.HICMOInterID == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "璇烽�夋嫨浠诲姟鍗曪紒"; + objJsonResult.data = null; + return objJsonResult; + } for (int i = 0; i < subList.ToArray().Length; i++) { if (DBUtility.ClsPub.isInt(subList[i].HProcID) != 0)//HQty @@ -208,6 +216,8 @@ oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(subList[i].HTechnologyParameter); oSub.HPicNum = DBUtility.ClsPub.isStrNull(subList[i].HPicNum); oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(subList[i].HProcCheckNote); + oSub.HMouldNo = ""; + oSub.HProcWorkNum = ""; BillNew.DetailColl.Add(oSub); } } -- Gitblit v1.9.1