This commit is contained in:
qianhao.xu
2024-03-14 13:43:09 +08:00
parent 46cca98136
commit 9b9aedfa37
2 changed files with 5 additions and 5 deletions

View File

@@ -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))