From 155e67da6f128562af9e02fb86582635a4f7f57a Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期四, 15 八月 2024 18:33:29 +0800
Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~tjx/StandardPda

---
 MESApplication/Controllers/WomcaaController.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/MESApplication/Controllers/WomcaaController.cs b/MESApplication/Controllers/WomcaaController.cs
index 7ca725a..579cf20 100644
--- a/MESApplication/Controllers/WomcaaController.cs
+++ b/MESApplication/Controllers/WomcaaController.cs
@@ -12,9 +12,8 @@
 [Route("api/[controller]")]
 public class WomcaaController : ControllerBase
 {
-    private readonly WomcaaManager m = new();
-
     private readonly MessageCenterManager _manager = new();
+    private readonly WomcaaManager m = new();
 
     private readonly string METHOD = "POST";
 
@@ -41,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