From cebd0800e9b5e1a1055a48d5e52f3f8a85e8d82c Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 13 一月 2025 20:59:26 +0800 Subject: [PATCH] 1 --- 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" index 839d637..68cc2df 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" @@ -27,7 +27,7 @@ namespace WIDESEAWCS_Model.Models { - [SugarTable(nameof(Dt_Task), "浠诲姟淇℃伅")] + [SugarTable(nameof(Dt_Task), "浠诲姟淇℃伅"), SugarIndex("unique_task_taskNum", nameof(TaskNum), OrderByType.Asc, true)] public class Dt_Task : BaseEntity { /// <summary> @@ -45,6 +45,22 @@ [ExporterHeader(DisplayName = "浠诲姟鍙�")] [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鍙�")] public int TaskNum { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [ImporterHeader(Name = "浠撳簱涓婚敭")] + [ExporterHeader(DisplayName = "浠撳簱涓婚敭")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// AGV浠诲姟鍙� + /// </summary> + [ImporterHeader(Name = "AGV浠诲姟鍙�")] + [ExporterHeader(DisplayName = "AGV浠诲姟鍙�")] + [SugarColumn(IsNullable = true,Length =50, ColumnDescription = "AGV浠诲姟鍙�")] + public string AgvTaskNum { get; set; } /// <summary> /// 鎵樼洏缂栧彿 @@ -95,7 +111,7 @@ /// </summary> [ImporterHeader(Name = "璧峰鍦板潃")] [ExporterHeader(DisplayName = "璧峰鍦板潃")] - [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璧峰鍦板潃")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "璧峰鍦板潃")] public string SourceAddress { get; set; } /// <summary> @@ -103,7 +119,7 @@ /// </summary> [ImporterHeader(Name = "鐩爣鍦板潃")] [ExporterHeader(DisplayName = "鐩爣鍦板潃")] - [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鐩爣鍦板潃")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐩爣鍦板潃")] public string TargetAddress { get; set; } /// <summary> @@ -111,7 +127,7 @@ /// </summary> [ImporterHeader(Name = "褰撳墠浣嶇疆")] [ExporterHeader(DisplayName = "褰撳墠浣嶇疆")] - [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "褰撳墠浣嶇疆")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "褰撳墠浣嶇疆")] public string CurrentAddress { get; set; } /// <summary> @@ -119,7 +135,7 @@ /// </summary> [ImporterHeader(Name = "涓嬩竴鍦板潃")] [ExporterHeader(DisplayName = "涓嬩竴鍦板潃")] - [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "涓嬩竴鍦板潃")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "涓嬩竴鍦板潃")] public string NextAddress { get; set; } /// <summary> -- Gitblit v1.9.3