From 16a534f70032e626bf87aaa8029e667fd72ef3fa Mon Sep 17 00:00:00 2001
From: WYB <908761037@qq.com>
Date: 星期五, 16 四月 2021 23:09:17 +0800
Subject: [PATCH] 不良评审添加限制

---
 WebAPI/Controllers/Sc_ProcessMangementController.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/Sc_ProcessMangementController.cs b/WebAPI/Controllers/Sc_ProcessMangementController.cs
index 9b16fff..bb77118 100644
--- a/WebAPI/Controllers/Sc_ProcessMangementController.cs
+++ b/WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -955,6 +955,10 @@
                 foreach (Model.ClsQC_NoPassProdCheckBillSub oItemSub in ls)
                 {
                     i++;
+                    if (string.IsNullOrWhiteSpace(oItemSub.HWasterReasonName))
+                    {
+                        break;
+                    }
                     if (oItemSub.HBadQty<=0)
                     {
                         objJsonResult.code = "0";

--
Gitblit v1.9.1