Browse Source

[fix]系统管理

系统用户新增 通过部门id查询该部门下的所有用户后端方法
修改客户信息分页查询后端接口:通过部门、roleKeys和当前登陆人实现:
5管理员admin可以正常显示所有数据
dev
liuxiaoxu 4 weeks ago
parent
commit
7edd4756dd
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java

2
ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java

@ -109,7 +109,7 @@ public class SysCustomerServiceImpl implements ISysCustomerService
Page<SysCustomerVo> list = (Page<SysCustomerVo>) sysCustomerMapper.selectSysCustomerList(sysCustomer);
List<SysCustomerVo> filteredList = new ArrayList<>();
String loginName = ShiroUtils.getLoginName();
if (loginName.equals("gmo_asst01") ||loginName.equals("gmo_gm") ){
if (loginName.equals("gmo_asst01") ||loginName.equals("gmo_gm") || loginName.equals("admin") ){
filteredList = list;
}else {
List<String> allowedFullAccessCreators = sysCustomer.getAllowedCreators();

Loading…
Cancel
Save