This commit is contained in:
齐天大圣 2024-03-28 15:23:00 +08:00
parent 8213ccd1cc
commit 74ffebbfce

View File

@ -283,7 +283,7 @@ public class AccountServiceImpl extends ServiceImpl<TAccountMapper, TAccount> im
tAccount.setAccountName(accountName); tAccount.setAccountName(accountName);
tAccount.setAccountStatus(Integer.parseInt(accountStatus)); tAccount.setAccountStatus(Integer.parseInt(accountStatus));
tAccount.setPassword(password); 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); tAccount.setOwnerId(2);
} }
if (ObjectUtil.isNotEmpty(param.get("deptType")) && "3".equals(param.get("deptType"))){ if (ObjectUtil.isNotEmpty(param.get("deptType")) && "3".equals(param.get("deptType"))){