From a4ae3bf5f1826e8e29a95da3dc2c947d713d4ebb Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 06 六月 2025 15:38:14 +0800
Subject: [PATCH] 1.仓库信息储存逻辑调整 2.生产订单接口优化。

---
 MES.Service/service/BasicData/TransferRequestManager.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/MES.Service/service/BasicData/TransferRequestManager.cs b/MES.Service/service/BasicData/TransferRequestManager.cs
index 93692c4..8ad405e 100644
--- a/MES.Service/service/BasicData/TransferRequestManager.cs
+++ b/MES.Service/service/BasicData/TransferRequestManager.cs
@@ -141,7 +141,7 @@
             FDocumentStatus = erpDto.FDocumentStatus, // 鍗曟嵁鐘舵��
             FDate = !String.IsNullOrEmpty(erpDto.FDate) ? DateTime.ParseExact(erpDto.FDate, "yyyy-MM-dd HH:mm:ss", null) : null, // 鐢宠鏃ユ湡
             FAppOrgId = erpDto.FAPPORGID, // 鐢宠缁勭粐
-            
+
             FBusinessType = erpDto.FBusinessType, // 涓氬姟绫诲瀷
             //FTransType = erpDto.FTRANSTYPE, // 璋冩嫧绫诲瀷
             //FTransferDirect = erpDto.FTransferDirect, // 璋冩嫧鏂瑰悜
@@ -152,13 +152,14 @@
             FCreateDate = !String.IsNullOrEmpty(erpDto.FCreateDate) ? DateTime.ParseExact(erpDto.FCreateDate, "yyyy-MM-dd HH:mm:ss", null) : null, // 鍒涘缓鏃ユ湡
             FModifierId = erpDto.FModifierId, // 鏈�鍚庝慨鏀逛汉
             FModifyDate = !String.IsNullOrEmpty(erpDto.FModifyDate) ? DateTime.ParseExact(erpDto.FModifyDate, "yyyy-MM-dd HH:mm:ss", null) : null, // 鏈�鍚庝慨鏀规棩鏈�
-            FApproveDate = !String.IsNullOrEmpty(erpDto.FAPPROVEDATE) ? DateTime.ParseExact(erpDto.FAPPROVEDATE, "yyyy-MM-dd HH:mm:ss", null) : null, // 瀹℃牳鏃ユ湡
+            FApproveDate = DateTime.Now,//瀹℃牳鐘舵��
             FCloseStatus = erpDto.FCloseStatus, // 鍏抽棴鐘舵��
             FCloserId = erpDto.FCloserId, // 鍏抽棴浜�
             //FCloseDate = !String.IsNullOrEmpty(erpDto.FCloseDate) ? DateTime.ParseExact(erpDto.FCloseDate, "yyyy-MM-dd HH:mm:ss", null) : null, // 鍏抽棴鏃ユ湡
             FUnwBaseBomBb = erpDto.F_UNW_Base_BOMBB, // BOM鐗堟湰
             FUnwBaseFxwlBm = erpDto.F_UNW_Base_FXWLBM, // 鐖堕」鐗╂枡缂栧彿
             Source = "ERP",//鍗曟嵁鏉ユ簮
+            FHasLink = true,
             FApproveStatus = 1,//瀹℃牳鐘舵��
         };
 

--
Gitblit v1.9.3