mirror of https://gitee.com/stylefeng/roses
【8.1.8】【system】更新添加用户,返回用户的id
parent
391f785c27
commit
65faabbebe
|
@ -188,7 +188,7 @@ public interface SysUserServiceApi {
|
|||
* @author fengshuonan
|
||||
* @since 2024/5/23 23:48
|
||||
*/
|
||||
void simpleAddUser(AddUserDTO addUserDTO, Long orgId, Long positionId);
|
||||
Long simpleAddUser(AddUserDTO addUserDTO, Long orgId, Long positionId);
|
||||
|
||||
/**
|
||||
* 通过用户的邮箱获取用户的详细信息
|
||||
|
|
|
@ -792,7 +792,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|||
}
|
||||
|
||||
@Override
|
||||
public void simpleAddUser(AddUserDTO addUserDTO, Long orgId, Long positionId) {
|
||||
public Long simpleAddUser(AddUserDTO addUserDTO, Long orgId, Long positionId) {
|
||||
|
||||
SysUser simpleUser = SysUserCreateFactory.createSimpleAddUser(addUserDTO);
|
||||
|
||||
|
@ -813,6 +813,8 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|||
BusinessLogUtil.setLogTitle("新增用户,用户账号:" + simpleUser.getAccount());
|
||||
BusinessLogUtil.addContent("新增用户账号信息:", simpleUser.getAccount());
|
||||
BusinessLogUtil.addContent("用户详细信息如下:\n", simpleUser);
|
||||
|
||||
return simpleUser.getUserId();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue