diff --git a/Admin.Core.Api/appsettings.json b/Admin.Core.Api/appsettings.json index 17eba45..8c7a8d2 100644 --- a/Admin.Core.Api/appsettings.json +++ b/Admin.Core.Api/appsettings.json @@ -80,7 +80,7 @@ "DBType": 1, "Enabled": true, "HitRate": 50, - "Connection": "Data Source=127.0.0.1;Initial Catalog=cwss_xl;User ID=sa;Password=haiwei@123;Integrated Security=false;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "Connection": "Data Source=127.0.0.1;Initial Catalog=cwss_xl;User ID=sa;Password=123456;Integrated Security=false;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", //"Connection": "Data Source=192.168.10.50;Initial Catalog=cwss_xl;User ID=sa;Password=sa;Integrated Security=false;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "ProviderName": "System.Data.SqlClient" } diff --git a/Admin.Core.Service/Service_New/xl_materialServices.cs b/Admin.Core.Service/Service_New/xl_materialServices.cs index 6fcf5da..7aef69c 100644 --- a/Admin.Core.Service/Service_New/xl_materialServices.cs +++ b/Admin.Core.Service/Service_New/xl_materialServices.cs @@ -86,7 +86,7 @@ namespace Admin.Core.Service if (!string.IsNullOrEmpty(barCode.Trim())) { - string[] str = barCode.Split("-"); + string[] str = barCode.Split("#"); //保存料仓投料重量 Hw_BinTypeErrorPreventionReport hw = new Hw_BinTypeErrorPreventionReport()