修正
This commit is contained in:
parent
46cca98136
commit
9b9aedfa37
@ -11,9 +11,9 @@
|
||||
{
|
||||
|
||||
//外网连接服务器
|
||||
//"Conn": "Data Source=47.116.122.230;Port=3307;User ID=root;Password=123456;Initial Catalog=ZrAdmin;",
|
||||
"Conn": "Data Source=47.116.122.230;Port=3307;User ID=root;Password=123456;Initial Catalog=ZrAdmin;",
|
||||
//内网连接服务器
|
||||
"Conn": "Data Source=192.168.0.36;Port=3306;User ID=root;Password=123456;Initial Catalog=ZrAdmin;",
|
||||
//"Conn": "Data Source=192.168.0.36;Port=3306;User ID=root;Password=123456;Initial Catalog=ZrAdmin;",
|
||||
"Type": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4,
|
||||
"ConfigId": "0", //多租户唯一标识
|
||||
"IsAutoCloseConnection": true
|
||||
|
||||
@ -89,8 +89,8 @@ namespace ZR.Service.mes.wms
|
||||
|
||||
if (r.IsMatch(production_packcode))
|
||||
{
|
||||
string workorder_id = production_packcode.Substring(3, 9);
|
||||
string flow_id = production_packcode.Substring(13, 3).ToString("000");
|
||||
//string workorder_id = production_packcode.Substring(3, 9);
|
||||
//string flow_id = production_packcode.Substring(13, 3).ToString("000");
|
||||
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ namespace ZR.Service.mes.wms
|
||||
|
||||
}
|
||||
string workorder_id = production_packcode.Substring(3, 9);
|
||||
string flow_id = production_packcode.Substring(13, 3).ToString("000");
|
||||
string flow_id = production_packcode.Substring(13, 3);
|
||||
bool isExist = Context.Queryable<WmPackingrecord>()
|
||||
.Where(it => it.WorkOrderNum == workorder_id)
|
||||
.Where(it => it.PackingCode.EndsWith(flow_id))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user