From 9cfdb479a1083fc9615779edcff50472319dd387 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期三, 02 四月 2025 16:53:31 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/BaseSet/Gy_MaterialController.cs | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs index 4d4d311..e89d391 100644 --- a/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_MaterialController.cs @@ -1747,7 +1747,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏃犲垹闄ゆ潈闄愶紒"; + objJsonResult.Message = "[0000-1-058]鏃犲垹闄ゆ潈闄愶紒"; objJsonResult.data = null; return objJsonResult; } @@ -1758,7 +1758,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鍒犻櫎鏉$爜鍓嶅垽鏂彂鐢熼敊璇紒"; + objJsonResult.Message = "[3899-1-001]鍒犻櫎鏉$爜鍓嶅垽鏂彂鐢熼敊璇紒"; objJsonResult.data = null; return objJsonResult; } @@ -1768,9 +1768,9 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); + objJsonResult.Message = "[0000-1-007]" + DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); objJsonResult.data = null; - return objJsonResult; + return objJsonResult; } } //Int64 lngBillKey = 0; @@ -1779,7 +1779,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�"; + objJsonResult.Message = "[0000-1-009]鍗曟嵁ID涓虹┖锛�"; objJsonResult.data = null; return objJsonResult; } @@ -1824,7 +1824,7 @@ oCN.Commit(); objJsonResult.code = "1"; objJsonResult.count = 1; - objJsonResult.Message = "鍒犻櫎鎴愬姛"; + objJsonResult.Message = "[0000-1-008]鍒犻櫎鎴愬姛"; objJsonResult.data = null; return objJsonResult; } @@ -1832,7 +1832,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鍗曟嵁鏈壘鍒�"; + objJsonResult.Message = "[0000-1-045]鍗曟嵁鏈壘鍒�"; objJsonResult.data = null; return objJsonResult; } @@ -1842,7 +1842,7 @@ oCN.RollBack(); objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = e.Message; + objJsonResult.Message = "[0000-1-007]" + e.Message; objJsonResult.data = null; return objJsonResult; } @@ -1869,7 +1869,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "浣滃簾澶辫触锛佹棤鏉冮檺锛�"; + objJsonResult.Message = "[0000-1-063]浣滃簾澶辫触锛佹棤鏉冮檺锛�"; objJsonResult.data = null; return objJsonResult; } @@ -1878,7 +1878,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "HInterID灏忎簬0锛�"; + objJsonResult.Message = "[0000-1-009]HInterID灏忎簬0锛�"; objJsonResult.data = null; return objJsonResult; } @@ -1906,7 +1906,7 @@ objJsonResult.code = "1"; objJsonResult.count = 1; - objJsonResult.Message = "浣滃簾鎴愬姛"; + objJsonResult.Message = "[0000-1-040]浣滃簾鎴愬姛"; objJsonResult.data = null; oCN.Commit(); @@ -1915,7 +1915,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "浣滃簾澶辫触!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.Message = "[0000-1-042]浣滃簾澶辫触!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; objJsonResult.data = null; oCN.RollBack(); @@ -1938,7 +1938,7 @@ objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鍙嶄綔搴熷け璐ワ紝鍘熷洜锛氬弽浣滃簾鏉$爜鍓嶅垽鏂彂鐢熼敊璇紒"; + objJsonResult.Message = "[0000-1-042]鍙嶄綔搴熷け璐ワ紝鍘熷洜锛氬弽浣滃簾鏉$爜鍓嶅垽鏂彂鐢熼敊璇紒"; objJsonResult.data = null; return objJsonResult; } @@ -1950,7 +1950,7 @@ objJsonResult.code = "1"; objJsonResult.count = 1; - objJsonResult.Message = "鍙嶄綔搴熷け璐ワ紝鍘熷洜锛�" + DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"]); + objJsonResult.Message = "[0000-1-042]鍙嶄綔搴熷け璐ワ紝鍘熷洜锛�" + DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"]); objJsonResult.data = null; return objJsonResult; } @@ -1972,7 +1972,7 @@ objJsonResult.code = "1"; objJsonResult.count = 1; - objJsonResult.Message = "鍙嶄綔搴熸垚鍔�"; + objJsonResult.Message = "[0000-1-043]鍙嶄綔搴熸垚鍔�"; objJsonResult.data = null; oCN.Commit(); return objJsonResult; @@ -1981,7 +1981,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鍙嶄綔搴熷け璐�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.Message = "[0000-1-042]鍙嶄綔搴熷け璐�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; objJsonResult.data = null; oCN.RollBack(); return objJsonResult; @@ -1994,7 +1994,7 @@ oCN.RollBack(); objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "浣滃簾澶辫触鎴栬�呭弽浣滃簾澶辫触锛�" + e.ToString(); + objJsonResult.Message = "[0000-1-044]浣滃簾澶辫触鎴栬�呭弽浣滃簾澶辫触锛�" + e.ToString(); objJsonResult.data = null; return objJsonResult; } -- Gitblit v1.9.1