namespace Admin.NET.Plugin.AiDOP.MaterialWarehouse.Dto; public class IqcTaskEntryListInput { public string? ApplyBillNo { get; set; } public string? MaterialCode { get; set; } public string? LotNo { get; set; } public string? InspectStatus { get; set; } public string? Receiver { get; set; } public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; } public class IqcTaskEntryRow { public long Id { get; set; } public long? Glid { get; set; } public string? ApplyBillNo { get; set; } public string? BizType { get; set; } public string? MaterialCode { get; set; } public string? MaterialName { get; set; } public string? Spec { get; set; } public string? LotNo { get; set; } public string? Receiver { get; set; } public decimal? ApplyQty { get; set; } public string? InspectStatus { get; set; } public string? OwnerId { get; set; } public string? OwnerName { get; set; } public long? Priority { get; set; } public string? SupplierCode { get; set; } public string? SupplierName { get; set; } public string? ShipmentNo { get; set; } public long? InspBillId { get; set; } public string? InspBillNo { get; set; } } public class IqcTaskEntryIdsInput { public List Ids { get; set; } = new(); } public class IqcTaskEntryAssignInput { public List Ids { get; set; } = new(); /// 检验负责人用户 Id(统一存用户 id,见任务书 Q6/U9) public long InspectorUserId { get; set; } } public class IqcTaskEntryPriorityInput { public List Ids { get; set; } = new(); public long Priority { get; set; } } public class IqcGenerateInspBillInput { /// 报检分录 id(qms_qcp_insappnentry.id) public long EntryId { get; set; } } public class IqcGenerateInspBillOutput { public long InspBillId { get; set; } public string InspBillNo { get; set; } = ""; // ── 以下为 B-2 追加的检规解析可观测字段。全部可空/有默认值,向后兼容: // 既有前端不读这些字段也不会报错,且未新增任何必填入参。 /// /// 检规解析状态:MATCHED / MATCHED_MANUAL / MATCHED_UNDATED / NO_SPEC / NO_EFFECTIVE_SPEC / AMBIGUOUS。 /// 仅 MATCHED* 会把检规固化进 qms_qcp_inspbill 的 jgbh/jgbb/jgsxrq/jygfid。 /// public string? SpecStatus { get; set; } /// 命中的检规编号(未命中为 null)。 public string? SpecNo { get; set; } /// 面向 S0 维护者的整改提示;未命中或歧义时非空。 public string? SpecWarning { get; set; } /// 候选检规数量(可观测性用;0 表示该物料无检规映射)。 public int SpecCandidateCount { get; set; } }