From 5cf903c0d4fa20a502026cd80b83025659345647 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期三, 02 四月 2025 09:59:14 +0800 Subject: [PATCH] 墨西哥模块报错信息翻译 --- WebAPI/Controllers/仓存管理/条码生成/Sc_BarCodeController.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" index 81390b2..dff3b17 100644 --- "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" +++ "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" @@ -687,13 +687,13 @@ if (oDs == null && oDs.Tables[0].Rows.Count == 0) { objJsonResult.code = "1"; - objJsonResult.Message="鐢熸垚鎵规澶辫触锛�"; + objJsonResult.Message= "[0000-2-053]鐢熸垚鎵规澶辫触锛�"; return objJsonResult; } else if (DBUtility.ClsPub.isStrNull(oDs.Tables[0].Rows[0][0]) == "1") { objJsonResult.code = "1"; - objJsonResult.Message = "鐢熸垚鎵规鎴愬姛锛�"; + objJsonResult.Message = "[0000-2-054]鐢熸垚鎵规鎴愬姛锛�"; objJsonResult.data = DBUtility.ClsPub.isStrNull(oDs.Tables[0].Rows[0]["HBatchNo"]); HBatchNo = DBUtility.ClsPub.isStrNull(oDs.Tables[0].Rows[0]["HBatchNo"]); b = true; @@ -704,7 +704,7 @@ if (b == false) { objJsonResult.code = "1"; - objJsonResult.Message="娌℃湁闇�瑕佺敓鎴愭壒娆$殑鏄庣粏琛岋紒"; + objJsonResult.Message= "[3899-2-003]娌℃湁闇�瑕佺敓鎴愭壒娆$殑鏄庣粏琛岋紒"; return objJsonResult; } else //瀹屽叏灏侀棴 @@ -745,7 +745,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "閫夋嫨缁勭粐鏈夐敊璇�!"; + objJsonResult.Message = "[0000-2-055]閫夋嫨缁勭粐鏈夐敊璇�!"; return objJsonResult; } if (!Sub_AllowSave(msg2, HSelectBarCodeType))//鍗曟嵁瀹屾暣鎬у垽鏂� @@ -766,7 +766,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏉$爜鐢熸垚澶辫触!"+e.Message; + objJsonResult.Message = "[3899-2-006]鏉$爜鐢熸垚澶辫触!" + e.Message; return objJsonResult; } return objJsonResult; @@ -799,7 +799,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏉$爜鐢熸垚瀹屾暣鎬у垽鏂敊璇�"; + objJsonResult.Message = "[3899-2-007]鏉$爜鐢熸垚瀹屾暣鎬у垽鏂敊璇�"; return false; } else if (DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0][0]) == "1") @@ -1433,7 +1433,7 @@ { objJsonResult.code = "1"; objJsonResult.count = 1; - objJsonResult.Message = "鑾峰彇璧勬簮缁戝畾鏁版嵁鎴愬姛锛�"; + objJsonResult.Message = "[0000-1-037]鑾峰彇璧勬簮缁戝畾鏁版嵁鎴愬姛锛�"; objJsonResult.data = JsonConvert.DeserializeObject<DataTable>(JsonConvert.SerializeObject(ds.Tables[0], new IsoDateTimeConverter { DateTimeFormat = "yyyy-MM-dd HH:mm:ss" })); //搴忓垪鍖朌ataSet涓殑鏃堕棿鏍煎紡锛岀劧鍚庡啀鍙嶅簭鍒楀寲鍥炴潵 objJsonResult.list = listobj; return objJsonResult; @@ -1442,7 +1442,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "娌℃湁杩斿洖浠讳綍缁撴灉,鏉$爜涓嶅瓨鍦紒"; + objJsonResult.Message = "[0000-2-020]娌℃湁杩斿洖浠讳綍缁撴灉,鏉$爜涓嶅瓨鍦紒"; objJsonResult.data = null; objJsonResult.list = listobj; return objJsonResult; @@ -1453,7 +1453,7 @@ oCN.RollBack(); objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鏉$爜鐢熸垚澶辫触锛�" + e.Message; + objJsonResult.Message = "[3899-2-006]鏉$爜鐢熸垚澶辫触锛�" + e.Message; return objJsonResult; } } -- Gitblit v1.9.1