From 74ffebbfce1485c4432daa40e76fe74b3db46367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Thu, 28 Mar 2024 15:23:00 +0800 Subject: [PATCH] bug --- .../java/com/fuint/common/service/impl/AccountServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/common/service/impl/AccountServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/common/service/impl/AccountServiceImpl.java index 113fdc4dd..aa5680c00 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/common/service/impl/AccountServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/common/service/impl/AccountServiceImpl.java @@ -283,7 +283,7 @@ public class AccountServiceImpl extends ServiceImpl im tAccount.setAccountName(accountName); tAccount.setAccountStatus(Integer.parseInt(accountStatus)); tAccount.setPassword(password); - if (ObjectUtil.isNotEmpty(param.get("deptType")) && "2".equals(param.get("deptType"))){ + if (ObjectUtil.isNotEmpty(param.get("deptType")) && "2".equals(param.get("deptType")) || "4".equals(param.get("deptType")) ){ tAccount.setOwnerId(2); } if (ObjectUtil.isNotEmpty(param.get("deptType")) && "3".equals(param.get("deptType"))){