From 0529fdff6aec54e5af03e69af16bfe73139ee46c Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期一, 24 三月 2025 17:12:57 +0800
Subject: [PATCH] 控制层修改,之前没办法调getlist

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

diff --git a/MESApplication/Controllers/WomcaaController.cs b/MESApplication/Controllers/WomcaaController.cs
index 7ca725a..6ff858f 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,8 +40,8 @@
             resultInfos.tbBillList = save;
 
             entity.Result = 0;
-            if (save) entity.Result = 1;
 
+            if (save) entity.Result = 1;
             entity.DealWith = 1;
             _manager.save(entity);
 

--
Gitblit v1.9.3