首末巡检自动自检报废 设备相关报表

This commit is contained in:
2024-09-02 15:50:23 +08:00
parent 8abd058478
commit 58dbda9430
13 changed files with 421 additions and 25 deletions

View File

@@ -6,6 +6,7 @@ using JNPF.DependencyInjection;
using JNPF.DynamicApiController;
using JNPF.FriendlyException;
using JNPF.JsonSerialization;
using JNPF.Logging;
using JNPF.Systems.Entitys.System;
using JNPF.Systems.Interfaces.System;
using JNPF.TaskScheduler;
@@ -446,6 +447,12 @@ namespace Tnb.QcMgr
{
throw Oops.Bah($"{entity.triggerevent.ToString()}找到多个质检方案");
}
if (list[0].status == "0")
{
Log.Error($"{list[0].id}已停用");
return;
}
// List<string> removes = new();
// foreach (QcCheckPlanH data in list)