From eda0c8f74ce453b6e43f88fc92b1e651ce5b6095 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 13 二月 2025 13:46:33 +0800
Subject: [PATCH] 1.条码表实体类型调整 2.条码库存表实体新增基础字段 3.期初入库新增入库人
---
entity/MesInvItemStocks.cs | 21 +++++++++++++++++++++
entity/MesInvItemBarcodes.cs | 2 +-
service/Warehouse/InventoryManager.cs | 3 ++-
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/entity/MesInvItemBarcodes.cs b/entity/MesInvItemBarcodes.cs
index 1a79514..743ce98 100644
--- a/entity/MesInvItemBarcodes.cs
+++ b/entity/MesInvItemBarcodes.cs
@@ -411,7 +411,7 @@
/// 榛樿鍊�: ((0))
/// </summary>
[SugarColumn(ColumnName = "COME_FLG")]
- public short? ComeFlg { get; set; }
+ public int? ComeFlg { get; set; }
/// <summary>
/// 琛屽彿
diff --git a/entity/MesInvItemStocks.cs b/entity/MesInvItemStocks.cs
index 3b75104..ac0078b 100644
--- a/entity/MesInvItemStocks.cs
+++ b/entity/MesInvItemStocks.cs
@@ -220,4 +220,25 @@
/// </summary>
[SugarColumn(ColumnName = "DEPOT_ID")]
public int? DepotId { get; set; }
+
+ /// <summary>
+ /// 鍏ュ簱浜哄憳缂栫爜
+ /// </summary>
+ [SugarColumn(ColumnName = "INDEP_USER_CODE")]
+ public string? IndepUserCode { get; set; }
+ /// <summary>
+ /// 璐т富id
+ /// </summary>
+ [SugarColumn(ColumnName = "Owner_Id")]
+ public string? OwnerId { get; set; }
+ /// <summary>
+ /// 璐т富绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "Owner_Type")]
+ public string? OwnerType { get; set; }
+ /// <summary>
+ /// 搴撳瓨缁勭粐
+ /// </summary>
+ [SugarColumn(ColumnName = "Stock_Org_Id")]
+ public string? StockOrgId { get; set; }
}
\ No newline at end of file
diff --git a/service/Warehouse/InventoryManager.cs b/service/Warehouse/InventoryManager.cs
index d464742..68195fe 100644
--- a/service/Warehouse/InventoryManager.cs
+++ b/service/Warehouse/InventoryManager.cs
@@ -227,7 +227,8 @@
WorkLine = c_mes_inv_item_barcodes.WorkLine,
// ItemUnit = c_mes_inv_item_barcodes.Unit,
SuppNo = c_mes_inv_item_barcodes.SuppNo,
- ItemId = c_mes_inv_item_barcodes.ItemId
+ ItemId = c_mes_inv_item_barcodes.ItemId,
+ IndepUserCode = c_user
// Fsubsidiary = c_organize
}).IgnoreColumns(true).ExecuteCommand();
--
Gitblit v1.9.3