临时取消提示
This commit is contained in:
parent
cfb465f9f3
commit
e5db67475e
@ -353,8 +353,8 @@ namespace APT.FO.WebApi.Controllers
|
||||
//if (monitorFileList == null || !monitorFileList.Any())
|
||||
// throw new Exception("必须上传完工验收附件");
|
||||
var detailNeed = detailList.FirstOrDefault(t => (t.JOB_STEP == FOJobStepEnum.Ing && t.IS_CONFIRM_NEW == false) || (t.JOB_STEP == FOJobStepEnum.After && t.IS_CONFIRM_NEW == false));
|
||||
if (detailNeed != null)
|
||||
throw new Exception("作业中或作业后未全部确认!");
|
||||
//if (detailNeed != null)
|
||||
// throw new Exception("作业中或作业后未全部确认!");
|
||||
//作业前不删
|
||||
var noDeleteIds = detailInfos.Where(t => t.JOB_STEP == FOJobStepEnum.Pre).Select(t => t.ID).ToList();
|
||||
detailIds = detailIds.Where(t => !noDeleteIds.Contains(t)).ToList();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user