From 5988d90fa9cf34d86e2e3e8b5311317f07f341a2 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期五, 26 十二月 2025 08:44:56 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/CJGL/Cj_SingleStationController.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
index 05274a5..bd7fe67 100644
--- a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
+++ b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
@@ -3446,7 +3446,8 @@
 
                 if (sWhere == null || sWhere.Equals(""))
                 {
-                    ds = oCN.RunProcReturn("select * from h_v_Sc_UnbindStation_BarList order by 鏉$爜鏃ユ湡 desc", "h_v_Sc_UnbindStation_BarList");
+                    ds = oCN.RunProcReturn("select * from h_v_Sc_UnbindStation_BarList" +
+                        " order by 鏉$爜鏃ユ湡 desc", "h_v_Sc_UnbindStation_BarList");
                 }
                 else
                 {
@@ -3700,7 +3701,7 @@
 
                 oCN.RunProc(sql);//鎻掑叆钃濈墮娴嬭瘯鏁版嵁
 
-                objJsonResult.code = "1";
+                objJsonResult.code = "success";
                 objJsonResult.count = 1;
                 objJsonResult.Message = "钃濈墮娴嬭瘯鏁版嵁鎺ユ敹鎴愬姛锛乴otSn锛�" + lotSn;
                 objJsonResult.data = null;
@@ -3708,7 +3709,7 @@
             }
             catch (Exception e)
             {
-                objJsonResult.code = "0";
+                objJsonResult.code = "error";
                 objJsonResult.count = 0;
                 objJsonResult.Message = "鍙戠敓寮傚父锛�" + e.ToString();
                 objJsonResult.data = null;

--
Gitblit v1.9.1