From abe6bd70b39966fdb8696ae2da7d2a84e1ba6da6 Mon Sep 17 00:00:00 2001
From: chenwenkai <1084072318@qq.com>
Date: Fri, 18 Oct 2024 11:40:38 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=8B=E5=8F=91=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E4=B8=BB=E8=A1=A8=E7=BC=96=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dto/PrdManage/PrdMoTaskIssueListOutput.cs | 6 ++++++
ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs | 1 +
2 files changed, 7 insertions(+)
diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs
index 909bccff..c482babf 100644
--- a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs
+++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs
@@ -48,5 +48,11 @@ namespace Tnb.ProductionMgr.Entities.Dto
///
public string? f_flowid { get; set; }
public string batch { get; set; }
+
+ ///
+ /// 主表code
+ ///
+ public string mo_code { get; set; }
+
}
}
\ No newline at end of file
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs
index ff3b6651..044c9244 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs
@@ -133,6 +133,7 @@ namespace Tnb.ProductionMgr
reported_work_qty = a.reported_work_qty,
scrap_qty = a.scrap_qty,
batch = a.is_hand_set_batch==1 ? a.batch : "",
+ mo_code=f.mo_code
}).OrderByDescending(a => a.create_time).ToPagedListAsync(input.currentPage, input.pageSize);
List userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();