From 0aa54059b26e6641196e9953490dd18616e916e3 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 10 九月 2025 17:26:47 +0800
Subject: [PATCH] 精简修正代码

---
 Controllers/Wom/WomdaaController.cs |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/Controllers/Wom/WomdaaController.cs b/Controllers/Wom/WomdaaController.cs
index f5dee1c..685e347 100644
--- a/Controllers/Wom/WomdaaController.cs
+++ b/Controllers/Wom/WomdaaController.cs
@@ -1,6 +1,5 @@
 锘縰sing System.Dynamic;
 using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Filters;
 using NewPdaSqlServer.Dto.service;
 using NewPdaSqlServer.entity;
 using NewPdaSqlServer.service.@base;
@@ -13,8 +12,8 @@
 [Route("api/[controller]")]
 public class WomdaaController : BaseController
 {
-    private readonly WomdaaManager m = new();
     private readonly MesPrintMangeer _mCf = new();
+    private readonly WomdaaManager m = new();
 
     #region 鐢熶骇棰嗘枡
 
@@ -29,7 +28,8 @@
         try
         {
             dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList = m.GetProductionPickDaa001(query, RequestInfo);
+            resultInfos.tbBillList =
+                m.GetProductionPickDaa001(query, RequestInfo);
             return new ResponseResult
             {
                 status = 0,
@@ -79,15 +79,13 @@
         {
             dynamic resultInfos = new ExpandoObject();
             resultInfos.tbBillList = m.ScanCode(query);
-            if(resultInfos.tbBillList.result == "2")
-            {
+            if (resultInfos.tbBillList.result == "2")
                 return new ResponseResult
                 {
                     status = Convert.ToInt32(resultInfos.tbBillList.result),
                     message = resultInfos.tbBillList.strMsg,
                     data = resultInfos
                 };
-            }
             return new ResponseResult
             {
                 status = 0,
@@ -270,7 +268,7 @@
             return ResponseResult.ResponseError(ex);
         }
     }
-    
+
 
     /// <summary>
     ///     淇敼
@@ -295,10 +293,10 @@
             return ResponseResult.ResponseError(ex);
         }
     }
+
     #endregion
 
     #region 鐜板満绠$悊
-
 
     /// <summary>
     ///     鎵弿娉ㄥ鐮侊紝鑾峰彇宸ュ崟鍜屾潯鐮佷俊鎭�
@@ -537,7 +535,7 @@
 
 
     /// <summary>
-    /// 鐜板満鏀舵枡鑾峰彇鍙�夊伐鍗曚俊鎭�
+    ///     鐜板満鏀舵枡鑾峰彇鍙�夊伐鍗曚俊鎭�
     /// </summary>
     /// <param name="query"></param>
     /// <returns></returns>
@@ -625,7 +623,8 @@
             // 鍏堝垵濮嬪寲tbBillList灞炴��
             resultInfos.tbBillList = new ExpandoObject();
             resultInfos.tbBillList.ZsBarInfo = m.getHgBarInfo(query);
-            resultInfos.tbBillList.Traceability = m.getTraceabilityByLsBar(query);
+            resultInfos.tbBillList.Traceability =
+                m.getTraceabilityByLsBar(query);
             return new ResponseResult
             {
                 status = 0,
@@ -690,7 +689,7 @@
 
 
     /// <summary>
-    /// AGV鍛煎彨绾夸綋鍒楄〃
+    ///     AGV鍛煎彨绾夸綋鍒楄〃
     /// </summary>
     /// <param name="query"></param>
     /// <returns></returns>
@@ -717,8 +716,8 @@
     #endregion
 
 
+    #region pda璋冪敤AGV鐩稿叧
 
-    #region  pda璋冪敤AGV鐩稿叧
     /// <summary>
     ///     AGV閫佹
     /// </summary>
@@ -742,7 +741,7 @@
         }
     }
 
-        /// <summary>
+    /// <summary>
     ///     AGV鍛煎彨
     /// </summary>
     [HttpPost("handleAGVCall")]
@@ -766,7 +765,7 @@
     }
 
     /// <summary>
-    /// AGV妫�楠屽鐞�
+    ///     AGV妫�楠屽鐞�
     /// </summary>
     [HttpPost("handleAgvJy")]
     public ResponseResult HandleAgvJy([FromBody] dynamic query)

--
Gitblit v1.9.3