From bad4badaa36382cd3ff2e7fd766a26dadd26645b Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期四, 08 五月 2025 18:59:31 +0800 Subject: [PATCH] 推送异常处置单逻辑完成 --- 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