|
|
@@ -4387,7 +4387,7 @@ namespace Business.ResourceExamineManagement
|
|
|
});
|
|
|
string seqSql = "";
|
|
|
var weekplan = _replenishmentWeekPlan.GetListAsync(s => s.factory_id.ToString() == domain && s.IsReplenishmentModel=="N" && workOrdMasters.Select(x => x.WorkOrd).Contains(s.ProductionOrder)).Result;
|
|
|
- var worklistDto = _serialNumberAppService.GetBillNo(domain, "WOlot", workOrdMasters.Count, userAccount, 1);
|
|
|
+ //var worklistDto = _serialNumberAppService.GetBillNo(domain, "WOlot", workOrdMasters.Count, userAccount, 1);
|
|
|
var rstSeqId = _serialNumberAppService.GetSeqIdList(domain, 1, 1);
|
|
|
long seqId = 0;
|
|
|
long.TryParse(rstSeqId, out seqId);
|
|
|
@@ -4398,7 +4398,7 @@ namespace Business.ResourceExamineManagement
|
|
|
workOrdMasters.ForEach(p =>
|
|
|
{
|
|
|
p.Status = "r";
|
|
|
- if (worklistDto.Any())
|
|
|
+ /*if (worklistDto.Any())
|
|
|
{
|
|
|
if (worklistDto[index] != null)
|
|
|
{
|
|
|
@@ -4410,7 +4410,7 @@ namespace Business.ResourceExamineManagement
|
|
|
}
|
|
|
}
|
|
|
index++;
|
|
|
- }
|
|
|
+ }*/
|
|
|
//生成工单事务、工单下达事务
|
|
|
strWoSql += "A," + p.Domain + "," + seqId.ToString() + ",nbr-wo-mes,工单," + p.WorkOrd + "," + p.RecID + "|";
|
|
|
seqId++;
|