From 92436f61d78c247dc4923e13de8a2ca8cb32bbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E6=99=94?= Date: Tue, 18 Apr 2023 14:39:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=99=E6=9E=B6=E6=9D=A1=E7=A0=81=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ICSSoft.DataProject/ICSSubmitService.cs | 8 ++++---- ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSSoft.Entity.csproj | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index c3853c8..bc89c67 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -1075,7 +1075,7 @@ namespace ICSSoft.DataProject } if (TransType != TransTypeEnum.ContainerBind.GetDescription() && TransType != TransTypeEnum.ContainerUnBind.GetDescription()) { - throw new Exception(language.GetNameByCode("WMSAPIInfo199"));//"操作类型错误!" + throw new Exception(language.GetNameByCode("WMSAPIInfo210"));//"操作类型错误!" } string chksql = @"select ID,ContainerCode from ICSContainer where ContainerCode='{0}' AND WorkPoint='{1}'"; @@ -1083,7 +1083,7 @@ namespace ICSSoft.DataProject DataTable chkdt = DBHelper.SQlReturnData(chksql, cmd); if (chkdt.Rows.Count == 0) { - msg = string.Format(language.GetNameByCode("WMSAPIInfo195"), JsonData.ContainerCode);//"容器不存在!" + msg = string.Format(language.GetNameByCode("WMSAPIInfo211"), JsonData.ContainerCode);//"容器不存在!" } else { @@ -1099,7 +1099,7 @@ namespace ICSSoft.DataProject chkdt = DBHelper.SQlReturnData(chksql, cmd); if (chkdt.Rows.Count != 0) { - msg = string.Format(language.GetNameByCode("WMSAPIInfo196"), JsonData.ContainerCode);//"容器已入库!" + msg = string.Format(language.GetNameByCode("WMSAPIInfo212"), JsonData.ContainerCode);//"容器已入库!" } } else @@ -1110,7 +1110,7 @@ namespace ICSSoft.DataProject chkdt = DBHelper.SQlReturnData(chksql, cmd); if (chkdt.Rows.Count == 0) { - msg = string.Format(language.GetNameByCode("WMSAPIInfo200"), JsonData.ContainerCode);//"容器未绑定条码!" + msg = string.Format(language.GetNameByCode("WMSAPIInfo213"), JsonData.ContainerCode);//"容器未绑定条码!" } else { diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSSoft.Entity.csproj b/ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSSoft.Entity.csproj index f2d0263..bb49d30 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSSoft.Entity.csproj +++ b/ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSSoft.Entity.csproj @@ -53,6 +53,7 @@ + @@ -67,7 +68,7 @@ - +