From 431a63b3c2335c5ecb8cf78507f470eb26e9b6d7 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期五, 28 二月 2025 14:43:50 +0800 Subject: [PATCH] 1.调拨申请时间改为 传到mes的时间 --- MES.Service/Modes/MesCustomer.cs | 108 +++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 83 insertions(+), 25 deletions(-) diff --git a/MES.Service/Modes/MesCustomer.cs b/MES.Service/Modes/MesCustomer.cs index 82ccc5e..6ccf9da 100644 --- a/MES.Service/Modes/MesCustomer.cs +++ b/MES.Service/Modes/MesCustomer.cs @@ -3,125 +3,183 @@ namespace MES.Service.Modes; /// <summary> -/// 瀹㈡埛淇℃伅 /// </summary> [SugarTable("MES_CUSTOMER")] public class MesCustomer { /// <summary> + /// 榛樿鍊�: (newid()) + /// </summary> + [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] + public Guid Guid { get; set; } + + /// <summary> /// ID /// </summary> - [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] + [SugarColumn(ColumnName = "id")] public decimal Id { get; set; } /// <summary> /// 瀹㈡埛缂栫爜 /// </summary> - [SugarColumn(ColumnName = "CUST_NO")] + [SugarColumn(ColumnName = "cust_no")] public string? CustNo { get; set; } + /// <summary> + /// 鍦板尯 + /// </summary> + [SugarColumn(ColumnName = "land")] + public string? Land { get; set; } /// <summary> /// 瀹㈡埛鍚嶇О /// </summary> - [SugarColumn(ColumnName = "CUST_NAME")] + [SugarColumn(ColumnName = "cust_name")] public string? CustName { get; set; } /// <summary> /// 瀹㈡埛绠�绉� /// </summary> - [SugarColumn(ColumnName = "CUST_SNAME")] + [SugarColumn(ColumnName = "cust_sname")] public string? CustSname { get; set; } - // <summary> + /// <summary> + /// 鍦板潃 + /// </summary> + [SugarColumn(ColumnName = "stras")] + public string? Stras { get; set; } + + /// <summary> /// 鐢佃瘽 /// </summary> - [SugarColumn(ColumnName = "TELF1")] + [SugarColumn(ColumnName = "telf1")] public string? Telf1 { get; set; } + /// <summary> + /// 浼犵湡 + /// </summary> + [SugarColumn(ColumnName = "telfx")] + public string? Telfx { get; set; } /// <summary> /// 鑱旂郴浜� /// </summary> - [SugarColumn(ColumnName = "ANRED")] + [SugarColumn(ColumnName = "anred")] public string? Anred { get; set; } /// <summary> /// 鍒涘缓鏃堕棿 /// </summary> - [SugarColumn(ColumnName = "CREATE_DATE")] + [SugarColumn(ColumnName = "create_date")] public DateTime? CreateDate { get; set; } /// <summary> /// 鍒涘缓浜� /// </summary> - [SugarColumn(ColumnName = "CREATE_BY")] + [SugarColumn(ColumnName = "create_by")] public string? CreateBy { get; set; } /// <summary> /// 鏈�鍚庝慨鏀规椂闂� /// </summary> - [SugarColumn(ColumnName = "LASTUPDATE_DATE")] + [SugarColumn(ColumnName = "lastupdate_date")] public DateTime? LastupdateDate { get; set; } /// <summary> /// 鏈�鍚庝慨鏀逛汉 /// </summary> - [SugarColumn(ColumnName = "LASTUPDATE_BY")] + [SugarColumn(ColumnName = "lastupdate_by")] public string? LastupdateBy { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(ColumnName = "remark")] + public string? Remark { get; set; } /// <summary> /// 鍏徃 /// </summary> - [SugarColumn(ColumnName = "COMPANY")] + [SugarColumn(ColumnName = "company")] public string? Company { get; set; } /// <summary> /// 鍒嗗巶缂栫爜 /// </summary> - [SugarColumn(ColumnName = "FACTORY")] + [SugarColumn(ColumnName = "factory")] public string? Factory { get; set; } + /// <summary> + /// 鐗╂枡鏄惁鍏辩(鏄紝鍚�) + /// 榛樿鍊�: ((0)) + /// </summary> + [SugarColumn(ColumnName = "item_c")] + public int? ItemC { get; set; } + + /// <summary> + /// 鐗╂枡鏄惁鍥炲啓SAP鎺ュ彛(鏄紝鍚�) + /// 榛樿鍊�: ((0)) + /// </summary> + [SugarColumn(ColumnName = "item_sap")] + public int? ItemSap { get; set; } /// <summary> /// 鏄惁鎵规绠$悊(鏄紝鍚�) + /// 榛樿鍊�: ((0)) /// </summary> - [SugarColumn(ColumnName = "LOT_FLAG")] - public short? LotFlag { get; set; } + [SugarColumn(ColumnName = "lot_flag")] + public int? LotFlag { get; set; } + /// <summary> + /// WMS鏄惁鍙戦�佹暟鎹細1宸插彂閫侊紝鍏朵粬鍧囨湭鍙戦�� + /// 榛樿鍊�: ((0)) + /// </summary> + [SugarColumn(ColumnName = "iscommit")] + public int? Iscommit { get; set; } /// <summary> /// 绂佺敤鐘舵�� /// </summary> - [SugarColumn(ColumnName = "FFORBIDSTATUS")] + [SugarColumn(ColumnName = "fforbidstatus")] public string? Fforbidstatus { get; set; } /// <summary> /// 閿�鍞憳 /// </summary> - [SugarColumn(ColumnName = "FSELLER")] + [SugarColumn(ColumnName = "fseller")] public string? Fseller { get; set; } /// <summary> - /// 鍌欒ɑ + /// 鑷畾涔夊瓧娈�3 /// </summary> - [SugarColumn(ColumnName = "REMARK")] - public string? Remarks { get; set; } + [SugarColumn(ColumnName = "remark3")] + public string? Remark3 { get; set; } /// <summary> - /// 浣跨敤绲勭箶 + /// 鑷畾涔夊瓧娈�4 /// </summary> - [SugarColumn(ColumnName = "FSubsidiary")] - public string? FSubsidiary { get; set; } + [SugarColumn(ColumnName = "remark4")] + public string? Remark4 { get; set; } /// <summary> - /// 鍓靛缓绲勭箶 + /// 鑷畾涔夊瓧娈�5 + /// </summary> + [SugarColumn(ColumnName = "remark5")] + public string? Remark5 { get; set; } + + /// <summary> + /// 鍒涘缓缁勭粐 /// </summary> [SugarColumn(ColumnName = "Fumbrella")] public string? Fumbrella { get; set; } /// <summary> + /// 浣跨敤缁勭粐 + /// </summary> + [SugarColumn(ColumnName = "FSubsidiary")] + public string? FSubsidiary { get; set; } + + /// <summary> /// 鍗曟嵁鐘舵�� /// </summary> [SugarColumn(ColumnName = "DATA_TYPE")] -- Gitblit v1.9.3