From 44a7c47a724c154c54e256727c75e79d31fd42e2 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期四, 05 六月 2025 21:42:40 +0800 Subject: [PATCH] 优化代码格式,添加到货标识和查询条件 --- StandardPda/MES.Service/Modes/IqcBefore.cs | 61 +++++++++++++++--------------- 1 files changed, 31 insertions(+), 30 deletions(-) diff --git a/StandardPda/MES.Service/Modes/IqcBefore.cs b/StandardPda/MES.Service/Modes/IqcBefore.cs index 3c5cac6..3f7555b 100644 --- a/StandardPda/MES.Service/Modes/IqcBefore.cs +++ b/StandardPda/MES.Service/Modes/IqcBefore.cs @@ -1,33 +1,34 @@ -锘� -using SqlSugar; -namespace MES.Service.Modes +锘縰sing SqlSugar; + +namespace MES.Service.Modes; + +/// <summary> +/// 鐢ㄦ埛瀵瑰簲鐨勭墿鏂欐楠岃〃 +/// </summary> +[SugarTable("IQC_BEFORE")] +public class IqcBefore { /// <summary> - /// 鐢ㄦ埛瀵瑰簲鐨勭墿鏂欐楠岃〃 - ///</summary> - [SugarTable("IQC_BEFORE")] - public class IqcBefore - { - /// <summary> - /// SEQ_IQC_Before - ///</summary> - [SugarColumn(ColumnName="ID" ,IsPrimaryKey = true )] - public decimal Id { get; set; } - /// <summary> - /// 鐢ㄦ埛id - ///</summary> - [SugarColumn(ColumnName="SID" )] - public decimal Sid { get; set; } - /// <summary> - /// 鐗╂枡id - ///</summary> - [SugarColumn(ColumnName="ITEM_ID" )] - public decimal ItemId { get; set; } + /// SEQ_IQC_Before + /// </summary> + [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] + public decimal Id { get; set; } - /// <summary> - /// PID - ///</summary> - [SugarColumn(ColumnName = "PID")] - public decimal PID { get; set; } - } -} + /// <summary> + /// 鐢ㄦ埛id + /// </summary> + [SugarColumn(ColumnName = "SID")] + public decimal Sid { get; set; } + + /// <summary> + /// 鐗╂枡id + /// </summary> + [SugarColumn(ColumnName = "ITEM_ID")] + public decimal ItemId { get; set; } + + /// <summary> + /// PID + /// </summary> + [SugarColumn(ColumnName = "PID")] + public decimal PID { get; set; } +} \ No newline at end of file -- Gitblit v1.9.3