From 9da3655ad429186e52b532249d0bbdcb58bb172c Mon Sep 17 00:00:00 2001
From: lvzb <35200379@qq.com>
Date: Tue, 20 May 2025 11:33:47 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E6=95=B4=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Models/Entity.cs | 72 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git a/Models/Entity.cs b/Models/Entity.cs
index 210a1e8..67209c8 100644
--- a/Models/Entity.cs
+++ b/Models/Entity.cs
@@ -1285,7 +1285,77 @@ namespace TaskManager.Controllers
///
/// 日MRP预警推移:每日物料需求计划的预警情况和趋势分析
///
- public class DailyMRPWarningTrend { }
+ public class DailyMRPWarningTrend {
+ ///
+ /// 主键
+ ///
+ public string id { get; set; }
+ ///
+ /// 工厂代码
+ ///
+ public string plantId { get; set; }
+ ///
+ /// 零件号:奇瑞零件号
+ ///
+ public string materialCode { get; set; }
+ ///
+ /// 零件名称
+ ///
+ public string materialDescription { get; set; }
+ ///
+ /// 当前库存
+ ///
+ public string quantityCurrent { get; set; }
+ ///
+ /// 需求日期-格式:yyyy-MM-dd
+ ///
+ public string reckonDate { get; set; }
+ ///
+ /// 需求数量
+ ///
+ public string quantityPlanned { get; set; }
+ ///
+ /// 满足数量
+ ///
+ public string quantityPlannedDelivery { get; set; }
+ ///
+ /// 在途数量
+ ///
+ public string quantityInTransit { get; set; }
+ ///
+ /// 日GAP:日需求数量与满足数量差异
+ ///
+ public string dateGap { get; set; }
+ ///
+ /// 库存GAP:库存推移差异
+ ///
+ public string inventoryGap { get; set; }
+ ///
+ /// 创建人
+ ///
+ public string createByUser { get; set; }
+ ///
+ /// 创建时间
+ ///
+ public string createTime { get; set; }
+ ///
+ /// 修改人
+ ///
+ public string updateByUser { get; set; }
+ ///
+ /// 修改时间
+ ///
+ public string updateTime { get; set; }
+ ///
+ /// 是否删除(0:否,1是)
+ ///
+ public string isDelete { get; set; }
+ ///
+ /// 版本号
+ ///
+ public string version { get; set; }
+
+ }
///
/// 供应商共享库存-上午:供应商共享库存的上午时点数据
From 19e83e89d1e2d696f02da7144a18c20609540dd0 Mon Sep 17 00:00:00 2001
From: lvzb <35200379@qq.com>
Date: Tue, 20 May 2025 14:26:16 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E6=95=B4=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Models/Entity.cs | 62 +++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 56 insertions(+), 6 deletions(-)
diff --git a/Models/Entity.cs b/Models/Entity.cs
index 67209c8..2e35da4 100644
--- a/Models/Entity.cs
+++ b/Models/Entity.cs
@@ -1358,14 +1358,64 @@ namespace TaskManager.Controllers
}
///
- /// 供应商共享库存-上午:供应商共享库存的上午时点数据
+ /// 供应商共享库存
///
- public class SupplierSharedInventoryMorning { }
+ public class SupplierSharedInventory
+ {
+ ///
+ /// 供应商代码
+ ///
+ public string supplierCode { get; set; }
+ ///
+ /// 供应商名称
+ ///
+ public string supplierName { get; set; }
+ ///
+ /// 零件号
+ ///
+ public string materialCode { get; set; }
+ ///
+ /// 零件名称
+ ///
+ public string materialDescription { get; set; }
+ ///
+ /// 物料类型(成品,半成品,原材料)
+ ///
+ public string materialType { get; set; }
+ ///
+ /// 当前库存数量
+ ///
+ public string quantityCurrent { get; set; }
+ ///
+ /// 原材料在途数量
+ ///
+ public string quantityPlan { get; set; }
+ ///
+ /// 库存状态(生产件,呆滞件,备件,KD件)
+ ///
+ public string inventoryStatus { get; set; }
+ ///
+ /// 安全库存
+ ///
+ public string safetyStock { get; set; }
+ ///
+ /// 生产/采购周期:成品即半成品为生产周期(天),原材料为采购周期(天)
+ ///
+ public string productionCycle { get; set; }
+ ///
+ /// 库存更新时间-格式:yyyy-MM-dd HH:mm:ss
+ ///
+ public string dataUpdateTime { get; set; }
+ ///
+ /// 批次
+ ///
+ public string supplierBatch { get; set; }
+ ///
+ /// 有效期截止日期 非必填
+ ///
+ public string supplieryxqDate { get; set; }
+ }
- ///
- /// 供应商共享库存-晚上:供应商共享库存的晚上时点数据
- ///
- public class SupplierSharedInventoryEvening { }
#endregion
#region 其他数据