质量bug

This commit is contained in:
2024-08-26 17:30:08 +08:00
parent ca47405a20
commit 956fccaf6b
2 changed files with 7 additions and 5 deletions

View File

@@ -439,12 +439,12 @@ namespace Tnb.QcMgr
if (list.IsEmpty())
{
throw Oops.Bah("未找到质检方案");
throw Oops.Bah($"{entity.triggerevent.ToString()}未找到质检方案");
}
if (list.Count > 1)
{
throw Oops.Bah("找到多个质检方案");
throw Oops.Bah($"{entity.triggerevent.ToString()}找到多个质检方案");
}
// List<string> removes = new();