From f34f0751ef0c6305c94ff342ca7fbe24aa09844e Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期四, 18 十二月 2025 14:48:31 +0800
Subject: [PATCH] 111

---
 StandardPda/MES.Service/service/BasicData/MesRohInManager.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/StandardPda/MES.Service/service/BasicData/MesRohInManager.cs b/StandardPda/MES.Service/service/BasicData/MesRohInManager.cs
index 42e2b20..57f2a49 100644
--- a/StandardPda/MES.Service/service/BasicData/MesRohInManager.cs
+++ b/StandardPda/MES.Service/service/BasicData/MesRohInManager.cs
@@ -95,7 +95,15 @@
         var mesRohIn = new MesRohIn();
 
         var single = base.GetSingle(it => it.EbelnK3id == eid);
-        if (single != null) mesRohIn.Id = single.Id;
+        if (single != null)
+        {
+            mesRohIn.Id = single.Id;
+
+            if (single.CheckDate != null)
+                mesRohIn.CheckDate = single.CheckDate;
+            else
+                mesRohIn.CheckDate = DateTime.Now;
+        }
 
         var mesLinkU9 = Db.Queryable<MesLinkU9>()
             .Where(s => s.U9Id == rohIn.FSupplierId
@@ -143,6 +151,7 @@
         mesRohIn.PrivateDescSeg1 = rohIn.PrivateDescSeg1;
         mesRohIn.Version = rohIn.FVersion;
         mesRohIn.ZzpoNo = rohIn.ZzpoNo;
+        mesRohIn.Remark1 = rohIn.Ywlx;
 
         //浣滃簾鐨勭浉鍏冲瓧娈�
         mesRohIn.CancellationStatus = rohIn.FCancelStatus;

--
Gitblit v1.9.3