From 6cdde9817310399d7ff829dcb19e580b64f13cf4 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 25 九月 2024 18:10:43 +0800
Subject: [PATCH] 更新SqlSugar的框架。入库检增加回写工序,工单,条码的操作。增加入库单检验结果处理后无法更改检验值的校验

---
 MESApplication/Controllers/WomcaaController.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/MESApplication/Controllers/WomcaaController.cs b/MESApplication/Controllers/WomcaaController.cs
index 50c2651..579cf20 100644
--- a/MESApplication/Controllers/WomcaaController.cs
+++ b/MESApplication/Controllers/WomcaaController.cs
@@ -40,9 +40,13 @@
             resultInfos.tbBillList = save;
 
             entity.Result = 0;
-            if (save) entity.Result = 1;
+            entity.DealWith = 0;
+            if (save)
+            {
+                entity.Result = 1;
+                entity.DealWith = 1;
+            }
 
-            entity.DealWith = 1;
             _manager.save(entity);
 
             return new ResponseResult

--
Gitblit v1.9.3