检查清单检查类型下拉过滤

This commit is contained in:
何美荣 2026-04-17 09:16:59 +08:00
parent ccbf37d26b
commit 8784d17a42

View File

@ -77,8 +77,8 @@ namespace APT.SK.WebApi.Controllers.Api
public class CheckListNew public class CheckListNew
{ {
public string MineType { get; set; } public string MineType { get; set; }
public Guid? PRODUCTION_UNIT_ID { get; set; } public Guid? PRODUCTION_UNIT_ID { get; set; }
public Guid? CHECK_TYPE_ID { get; set; }
public string CheckType { get; set; } public string CheckType { get; set; }
public string CheckCycle { get; set; } public string CheckCycle { get; set; }
public string CheckLevel { get; set; } public string CheckLevel { get; set; }
@ -2677,6 +2677,7 @@ namespace APT.SK.WebApi.Controllers.Api
{ {
CheckListNew listNew = new CheckListNew(); CheckListNew listNew = new CheckListNew();
listNew.PRODUCTION_UNIT_ID = item.Key.PRODUCTION_UNIT_ID; listNew.PRODUCTION_UNIT_ID = item.Key.PRODUCTION_UNIT_ID;
listNew.CHECK_TYPE_ID = item.Key.CHECK_TYPE_ID;
listNew.MineType = item.Key.MINE_NAME; listNew.MineType = item.Key.MINE_NAME;
listNew.CheckType = item.Key.TYPE_NAME; listNew.CheckType = item.Key.TYPE_NAME;
listNew.CheckCycle = item.Key.CHECK_CYCLE.GetDescription(); listNew.CheckCycle = item.Key.CHECK_CYCLE.GetDescription();