From 3501b604e6c756e59dba68a5ed3064e26cfd749f Mon Sep 17 00:00:00 2001 From: hao <1836460075@qq.com> Date: 星期三, 23 四月 2025 14:13:59 +0800 Subject: [PATCH] 2 --- StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs b/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs index a131eed..cd4ba3f 100644 --- a/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs +++ b/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs @@ -36,7 +36,6 @@ return 1; break; case "2": - case "4": if (InsertOrUpdateDepartment(db, entity)) // 鎻掑叆鎴栨洿鏂伴儴闂� return 1; break; @@ -148,7 +147,8 @@ ParentId = Convert.ToDecimal(department.FParentID), FDOCUMENTSTATUS = department.FDocumentStatus, Company = "1000", - Factory = "1000" + Factory = "1000", + Type=department.Type, }; } @@ -192,7 +192,6 @@ throw new NotImplementedException("鍒犻櫎澶辫触"); break; case "2": - case "4": if (!InsertOrUpdateDepartmentBatch(db, departmentGroup.Value)) // 鎵归噺鎻掑叆鎴栨洿鏂伴儴闂� throw new NotImplementedException("鍚屾澶辫触"); -- Gitblit v1.9.3