This commit is contained in:
parent
235f4dce5b
commit
436a07bcf4
@ -205,4 +205,12 @@ public class SysAccountController {
|
|||||||
public List<AccountVO> listByIds(@RequestBody List<Long> ids) {
|
public List<AccountVO> listByIds(@RequestBody List<Long> ids) {
|
||||||
return iSysUserService.listByIds(ids);
|
return iSysUserService.listByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询所有用户
|
||||||
|
*/
|
||||||
|
@GetMapping("/list/all")
|
||||||
|
public List<AccountVO> listAll() {
|
||||||
|
return iSysUserService.listAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -365,4 +365,6 @@ public interface ISysUserService {
|
|||||||
boolean isSameEmailExist(String email);
|
boolean isSameEmailExist(String email);
|
||||||
|
|
||||||
List<AccountVO> listByIds(List<Long> ids);
|
List<AccountVO> listByIds(List<Long> ids);
|
||||||
|
|
||||||
|
List<AccountVO> listAll();
|
||||||
}
|
}
|
||||||
|
@ -1120,6 +1120,12 @@ public class SysUserService implements ISysUserService {
|
|||||||
return AccountVO.convertFromDB(sysAccounts);
|
return AccountVO.convertFromDB(sysAccounts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<AccountVO> listAll() {
|
||||||
|
List<SysAccount> sysAccounts = sysAccountDAO.selectByExample(null);
|
||||||
|
return AccountVO.convertFromDB(sysAccounts);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询包含组织信息的用户信息
|
* 查询包含组织信息的用户信息
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user