修正
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user