新增公司

This commit is contained in:
sxu 2025-01-05 12:17:44 +08:00
parent 8c6494baef
commit 6004d6ab3b
1 changed files with 1 additions and 0 deletions

View File

@ -462,6 +462,7 @@ public class SysDeptServiceImpl implements ISysDeptService
SysRole role = new SysRole();
role.setRoleKey("company_"+sysDept.getDeptId()+"_admin");
role.setRoleName("company_"+sysDept.getDeptId()+"_管理员");
role.setCompanyId(sysDept.getDeptId());
role.setRoleSort(0);
role.setStatus("0");
role.setCreateBy(SecurityUtils.getUsername());