From 2d3fc93b131c7aa771e8f7d08a82d5e9b4946eff Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期四, 29 六月 2023 16:02:39 +0800 Subject: [PATCH] 提料计划运算(缺料) 日志添加自定义名称方法 --- WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs b/WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs index 88dac64..23c5438 100644 --- a/WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs +++ b/WebAPI/Controllers/JHGL/Gy_RoutingBillController.cs @@ -343,13 +343,16 @@ foreach (Gy_RoutingBillSub oSub in DetailColl) { i++; - if (oSub.HWorkQty <= 0) + if (oSystemParameter.omodel.WMS_CampanyName != "榫欏北姹介厤") { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "绗�" + i + "琛岋紝鍔犲伐鏁伴噺涓嶈兘涓�0鎴栬�呭皬浜�0"; - objJsonResult.data = null; - return objJsonResult; + if (oSub.HWorkQty <= 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "绗�" + i + "琛岋紝鍔犲伐鏁伴噺涓嶈兘涓�0鎴栬�呭皬浜�0"; + objJsonResult.data = null; + return objJsonResult; + } } //濡傛灉宸ヤ环涓�0锛屽垯宸ヤ环瀛楁涓嶅仛涓哄繀濉瓧娈� -- Gitblit v1.9.1