From 489987091cfece1860b84ca3ea5ef2f5aaf6550c Mon Sep 17 00:00:00 2001
From: zhoukeda <1315948824@qq.com>
Date: Fri, 16 Jun 2023 14:11:30 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AD=BE=E6=94=B6=E5=8D=95?=
=?UTF-8?q?=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dto/PrdManage/MaterialReceiptInput.cs | 5 +++++
.../Entity/PrdMaterialReceiptH.cs | 6 ++++++
.../Tnb.ProductionMgr/PrdMaterialReceiptService.cs | 1 +
3 files changed, 12 insertions(+)
diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/MaterialReceiptInput.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/MaterialReceiptInput.cs
index 5d0e22ad..91ead988 100644
--- a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/MaterialReceiptInput.cs
+++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/MaterialReceiptInput.cs
@@ -4,6 +4,11 @@ namespace Tnb.ProductionMgr.Entities.Dto
{
public string id { get; set; }
+ ///
+ /// 签收单号
+ ///
+ public string code { get; set; } = string.Empty;
+
///
/// 工位id
///
diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMaterialReceiptH.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMaterialReceiptH.cs
index 57ae28fe..94958bc2 100644
--- a/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMaterialReceiptH.cs
+++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMaterialReceiptH.cs
@@ -14,6 +14,12 @@ public partial class PrdMaterialReceiptH : BaseEntity
{
id = SnowflakeIdHelper.NextId();
}
+
+ ///
+ /// 签收单号
+ ///
+ public string code { get; set; } = string.Empty;
+
///
/// 工位id
///
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs
index f437c660..8a77672c 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs
@@ -78,6 +78,7 @@ namespace Tnb.ProductionMgr
PrdMaterialReceiptH prdMaterialReceiptH = new PrdMaterialReceiptH()
{
+ code = input.code,
station_id = input.station_id,
mo_task_id = input.mo_task_id,
process_id = input.process_id,