From 9785c3f62186b0e8adfe951e21acee6822722b56 Mon Sep 17 00:00:00 2001
From: cnf <3283105747@qq.com>
Date: 星期三, 05 十一月 2025 15:31:42 +0800
Subject: [PATCH] 委外工单改

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

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

--
Gitblit v1.9.3