|
|
@@ -3232,7 +3232,7 @@ namespace Business.Replenishment
|
|
|
});
|
|
|
_businessDbContext.BulkInsert(workOrdDetails);
|
|
|
}
|
|
|
- await PlanOrderResourceCheck(moList.OrderBy(a => a.moentry_sys_stime).ToList(), moentryList, bang_id, "", false, false,false);
|
|
|
+ await PlanOrderResourceCheck(moList.OrderBy(a => a.moentry_sys_stime).ToList(), moentryList, bang_id, "", false, false);
|
|
|
|
|
|
var examine_resultList = _mysql_examine_result.GetListAsync(a => a.bangid == bang_id).Result;
|
|
|
|
|
|
@@ -3649,7 +3649,7 @@ namespace Business.Replenishment
|
|
|
//await _mysql_bom_child_examine.HardDeleteAsync(a => examine_result.Select(b => b.Id).ToList().Contains(a.examine_id.Value) && a.factory_id == input.factory_id);
|
|
|
//await _mysql_examine_result.HardDeleteAsync(examine_result);
|
|
|
|
|
|
- await PlanOrderResourceCheck(moListCheck.OrderBy(a => a.moentry_sys_stime).ToList(), moEntryListCheck, bang_id, "", false, true,false);
|
|
|
+ await PlanOrderResourceCheck(moListCheck.OrderBy(a => a.moentry_sys_stime).ToList(), moEntryListCheck, bang_id, "", false, true);
|
|
|
|
|
|
var examine_resultList = _mysql_examine_result.GetListAsync(a => a.bangid == bang_id).Result;
|
|
|
|
|
|
@@ -4958,7 +4958,7 @@ namespace Business.Replenishment
|
|
|
a.QtyOrded = newqty;
|
|
|
});
|
|
|
|
|
|
- await PlanOrderResourceCheck(moList.OrderBy(a => a.moentry_sys_stime).ToList(), moentryList, bang_id, "", true, false,false);
|
|
|
+ await PlanOrderResourceCheck(moList.OrderBy(a => a.moentry_sys_stime).ToList(), moentryList, bang_id, "", true, false);
|
|
|
|
|
|
var examine_resultList = _mysql_examine_result.GetListAsync(a => a.bangid == bang_id).Result;
|
|
|
if (weekPlan.IsReplenishmentModel == "N")
|
|
|
@@ -7020,7 +7020,7 @@ namespace Business.Replenishment
|
|
|
//await _mysql_mes_morder.InsertManyAsync(moList);
|
|
|
//await _mysql_mes_moentry.InsertManyAsync(moentryList);
|
|
|
moList = moList.OrderBy(a => a.moentry_sys_stime).ToList();
|
|
|
- await PlanOrderResourceCheck(moList, moentryList, bangid, $"V{DateTime.Now.ToString("yyyyMMddHHmm")}", false, false,false);
|
|
|
+ await PlanOrderResourceCheck(moList, moentryList, bangid, $"V{DateTime.Now.ToString("yyyyMMddHHmm")}", false, false);
|
|
|
return "OK";
|
|
|
}
|
|
|
|