|
@@ -108,8 +108,7 @@ public class LabSecurityApplyController extends BaseController {
|
|
|
public TableDataInfo<LabSecurityApplyVO> list(LabSecurityApplyVO labSecurityApplyVO) {
|
|
public TableDataInfo<LabSecurityApplyVO> list(LabSecurityApplyVO labSecurityApplyVO) {
|
|
|
//获取登录用户信息
|
|
//获取登录用户信息
|
|
|
LoginModel sysUser = tokenService.getLoginUser();
|
|
LoginModel sysUser = tokenService.getLoginUser();
|
|
|
-
|
|
|
|
|
- if ("00".equals(sysUser.getUserType())) {
|
|
|
|
|
|
|
+ if ("00".equals(sysUser.getUserType()) || "2433321376".equals(sysUser.getUserName())) {
|
|
|
//系统用户按部门查询
|
|
//系统用户按部门查询
|
|
|
labSecurityApplyVO.setDeptId(sysUser.getDeptId());
|
|
labSecurityApplyVO.setDeptId(sysUser.getDeptId());
|
|
|
} else if ("11".equals(sysUser.getUserType())) {
|
|
} else if ("11".equals(sysUser.getUserType())) {
|
|
@@ -519,7 +518,7 @@ public class LabSecurityApplyController extends BaseController {
|
|
|
///获取当前登录用户信息
|
|
///获取当前登录用户信息
|
|
|
LoginModel sysUser = tokenService.getLoginUser();
|
|
LoginModel sysUser = tokenService.getLoginUser();
|
|
|
|
|
|
|
|
- if ("00".equals(sysUser.getUserType())) {
|
|
|
|
|
|
|
+ if ("00".equals(sysUser.getUserType()) || "2433321376".equals(sysUser.getUserName())) {
|
|
|
//系统用户登录
|
|
//系统用户登录
|
|
|
labSecurityApplyVO.setDeptId(sysUser.getDeptId());
|
|
labSecurityApplyVO.setDeptId(sysUser.getDeptId());
|
|
|
} else if ("11".equals(sysUser.getUserType())) {
|
|
} else if ("11".equals(sysUser.getUserType())) {
|