首末巡检自动自检报废 设备相关报表
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user