From 49c8ac08b9e1a29d24266aef39af9519b792feae Mon Sep 17 00:00:00 2001 From: zyf <1071160500@qq.com> Date: 星期二, 14 一月 2025 13:21:42 +0800 Subject: [PATCH] 接收ERP其他出库订单,新增销售订单客户物料信息字段 --- MES.Service/Modes/SysDepartment.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MES.Service/Modes/SysDepartment.cs b/MES.Service/Modes/SysDepartment.cs index f80b5b1..f2b6669 100644 --- a/MES.Service/Modes/SysDepartment.cs +++ b/MES.Service/Modes/SysDepartment.cs @@ -23,7 +23,7 @@ /// <summary> /// 閮ㄩ棬缂栧彿 /// </summary> - [SugarColumn(ColumnName = "DEPARTMENTCODE", IsPrimaryKey = true)] + [SugarColumn(ColumnName = "DEPARTMENTCODE")] public string? Departmentcode { get; set; } /// <summary> @@ -118,7 +118,7 @@ /// <summary> /// </summary> - [SugarColumn(ColumnName = "ID")] + [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] public decimal Id { get; set; } /// <summary> -- Gitblit v1.9.3