From 4babfcfde8b26c755850e0066f1c07fac38e96a2 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 29 十月 2025 01:22:41 +0800
Subject: [PATCH] 重新优化上报erp出入库完成接口
---
新建文件夹/WIDESEA_WMSServer/WIDESEA_Model/Models/WMSInfo/Dt_InventoryInfo.cs | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/WMSInfo/Dt_InventoryInfo.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/WMSInfo/Dt_InventoryInfo.cs"
index fa3c99a..de41235 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/WMSInfo/Dt_InventoryInfo.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/WMSInfo/Dt_InventoryInfo.cs"
@@ -33,12 +33,12 @@
/// </summary>
[ImporterHeader(Name = "搴撴埧缂栧彿")]
[ExporterHeader(DisplayName = "搴撴埧缂栧彿")]
- [SugarColumn(IsNullable = false, ColumnDescription = "搴撴埧缂栧彿")]
- public int WarehouseId { get; set; }
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "搴撴埧缂栧彿")]
+ public string WarehouseCode { get; set; }
/// <summary>
- /// 璐т綅缂栧彿
- /// </summary>
+ /// 璐т綅缂栧彿 //瑕佹槸鏄珛搴撶殑灏辨槸瑕�==鈥滅珛搴撯�� 骞冲簱鐨勫氨鏄湁缂栫爜鐨�
+ /// </summary>
[ImporterHeader(Name = "璐т綅缂栧彿")]
[ExporterHeader(DisplayName = "璐т綅缂栧彿")]
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "璐т綅缂栧彿")]
@@ -85,20 +85,34 @@
public string BatchNo { get; set; }
/// <summary>
- /// 瀹為檯搴撳瓨鏁�
+ /// 瀹為檯鎬诲簱瀛樻暟
/// </summary>
[ImporterHeader(Name = "瀹為檯搴撳瓨鏁�")]
[ExporterHeader(DisplayName = "瀹為檯搴撳瓨鏁�")]
[SugarColumn(IsNullable = false, ColumnDescription = "瀹為檯搴撳瓨鏁�")]
- public float StockQuantity { get; set; }
+ public decimal StockQuantity { get; set; }
/// <summary>
- /// 鍑哄簱鏁�
+ /// 寰呭嚭搴撴暟 鏁翠釜鍑哄簱鍗曞崰鐢ㄧ殑
/// </summary>
- [ImporterHeader(Name = "鍑哄簱鏁�")]
- [ExporterHeader(DisplayName = "鍑哄簱鏁�")]
+ [ImporterHeader(Name = "寰呭嚭搴撴暟")]
+ [ExporterHeader(DisplayName = "寰呭嚭搴撴暟")]
[SugarColumn(IsNullable = false, ColumnDescription = "鍑哄簱鏁�", DefaultValue = "0")]
- public float OutboundQuantity { get; set; }
+ public decimal OutboundQuantity { get; set; }
+
+
+ /// <summary>
+ /// 鍙敤搴撳瓨鏁伴噺 =瀹為檯搴撳瓨鏁�-寰呭嚭搴撴暟閲�
+ /// </summary>
+ [SugarColumn(IsNullable = false, ColumnDescription = "鍙敤搴撳瓨鏁伴噺", DefaultValue = "0")]
+ public decimal AvailableQuantity { get; set; }
+
+ /// <summary>
+ /// 鎶ヨ淇℃伅
+ /// </summary>
+ [SugarColumn(IsNullable = true,Length =255, ColumnDescription = "鎶ヨ淇℃伅")]
+ public string AlarmInformation { get; set; }
+
/// <summary>
/// 鐩樼偣鏁帮紱鐩樼偣鍚庡疄闄呮暟閲�
@@ -106,7 +120,7 @@
[ImporterHeader(Name = "鐩樼偣鏁�")]
[ExporterHeader(DisplayName = "鐩樼偣鏁�")]
[SugarColumn(IsNullable = false, ColumnDescription = "鐩樼偣鏁�", DefaultValue = "0")]
- public float SupplyQuantity { get; set; }
+ public decimal SupplyQuantity { get; set; }
/// <summary>
/// 鍏ュ簱鏃堕棿
--
Gitblit v1.9.3