From 4f40a6aeee4a09a663409a6e4fc60350b5fd48a0 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 21 四月 2026 13:12:16 +0800
Subject: [PATCH] feat: 添加AGV任务管理和托盘组功能 feat(task): 新增AGV任务页面和路由配置 feat(stock): 添加托盘组管理页面及进站出站操作 feat(task): 在任务历史页面添加操作类型列 refactor: 优化AGV任务查询条件及过滤逻辑
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
index 85fea92..ecf32e4 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
@@ -1,4 +1,5 @@
-锘縰sing SqlSugar;
+锘縰sing Magicodes.ExporterAndImporter.Core;
+using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -35,6 +36,12 @@
/// <summary>
/// 璐т綅缂栧彿
/// </summary>
+ [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅ID")]
+ public int LocationId { get; set; }
+
+ /// <summary>
+ /// 璐т綅缂栧彿
+ /// </summary>
[SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")]
public string LocationCode { get; set; }
@@ -57,9 +64,28 @@
public string Remark { get; set; }
/// <summary>
- /// 搴撳瓨鏄庣粏
+ /// MES涓婁紶鐘舵�侊細0=鏈笂浼狅紝1=缁勭洏鎴愬姛锛�2=缁勭洏澶辫触锛�3=鎷嗙洏鎴愬姛锛�4=鎷嗙洏澶辫触锛�5=杩涚珯鎴愬姛锛�6=杩涚珯澶辫触锛�7=鍑虹珯鎴愬姛锛�8=鍑虹珯澶辫触锛�9=NG涓婃姤鎴愬姛锛�10=NG涓婃姤澶辫触
/// </summary>
- [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))]
+ [SugarColumn(IsNullable = false, ColumnDescription = "MES涓婁紶鐘舵��")]
+ public int MesUploadStatus { get; set; } = 0;
+
+ /// <summary>
+ /// 鍑哄簱鏃ユ湡
+ /// </summary>
+ [SugarColumn(IsNullable = true, ColumnDescription = "鍑哄簱鏃ユ湡")]
+ public DateTime OutboundDate { get; set; }
+
+ /// <summary>
+ /// 搴撳瓨鏄庣粏
+ /// </summary>
+ [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))]
public List<Dt_StockInfoDetail> Details { get; set; }
+
+ /// <summary>
+ /// 璐т綅鏄庣粏
+ /// </summary>
+ [SugarColumn(ColumnName = "LocationDetails")]
+ [Navigate(NavigateType.OneToOne, nameof(LocationId), nameof(Dt_LocationInfo.Id))]
+ public Dt_LocationInfo LocationDetails { get; set; }
}
}
--
Gitblit v1.9.3