From 246e93fd519dadbe3127b6add16ed0e473fccab8 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期二, 08 七月 2025 13:08:58 +0800
Subject: [PATCH] 首检修改

---
 MES.Service/service/BasicData/SysDepartmentManager.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/MES.Service/service/BasicData/SysDepartmentManager.cs b/MES.Service/service/BasicData/SysDepartmentManager.cs
index 21efa39..5410fdb 100644
--- a/MES.Service/service/BasicData/SysDepartmentManager.cs
+++ b/MES.Service/service/BasicData/SysDepartmentManager.cs
@@ -117,6 +117,10 @@
             Depextr2 = department.FGroup,
             Depextr3 = department.FWIPStockID,
             Depextr4 = department.FForbidStatus,
+            CreateDate = DateTime.Now,
+            CreateOrg = Convert.ToDecimal(department.FCreateOrgId),
+            UseOrg = Convert.ToDecimal(department.FUseOrgId),
+            ParentId = Convert.ToDecimal(department.FParentID),
             Company = "1000",
             Factory = "1000"
         };

--
Gitblit v1.9.3