From d82252f08a32f5786ffe231b7fd301b6a60781d6 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期六, 07 三月 2026 17:56:58 +0800
Subject: [PATCH] 解决代码冲突更新WCS日志记录
---
项目代码/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
index 4cc0027..c53e5ac 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
@@ -6,16 +6,16 @@
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
-namespace WIDESEAWCS_Model.Models.PackInfo
+namespace WIDESEAWCS_Model.Models
{
- [SugarTable(nameof(Dt_Packaxis), "鐮佸灈鍧愭爣")]
+ [SugarTable(nameof(Dt_Packaxis), "鐮佸灈鍧愭爣琛�")]
public class Dt_Packaxis : BaseEntity
{
/// <summary>
/// 涓婚敭
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
- public int id { get; set; }
+ public int Id { get; set; }
/// <summary>
/// 璁惧缂栧彿
@@ -26,20 +26,20 @@
/// <summary>
/// 绔欏彴缂栧彿
/// </summary>
- [SugarColumn(IsNullable = true, ColumnDescription = "绔欏彴缂栧彿")]
- public int StationCode { get; set; }
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴缂栧彿")]
+ public string StationCode { get; set; }
/// <summary>
/// 鍨涘瀷
/// </summary>
- [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鍨涘瀷")]
- public string PackType { get; set; }
+ [SugarColumn(IsNullable = false, ColumnDescription = "鍨涘瀷")]
+ public int PackType { get; set; }
/// <summary>
/// 鐮佸灈鏁伴噺
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "鐮佸灈鏁伴噺")]
- public int PackNum { get; set; }
+ public int PackNum { get; set; } = 0;
/// <summary>
/// X鍧愭爣
@@ -95,10 +95,7 @@
[SugarColumn(IsNullable = true, ColumnDescription = "Z鍧愭爣闂磋窛")]
public int AxisZSpacing { get; set; }
- /// <summary>
- /// 澶囨敞
- /// </summary>
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "澶囨敞")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")]
public string Remark { get; set; }
}
}
--
Gitblit v1.9.3