测试问题项修改
This commit is contained in:
parent
02e4f72d97
commit
0b37588854
|
|
@ -75,7 +75,7 @@ public class SysLoginService {
|
||||||
|
|
||||||
if (StringUtils.isNull(userResult) || StringUtils.isNull(userResult.getData())) {
|
if (StringUtils.isNull(userResult) || StringUtils.isNull(userResult.getData())) {
|
||||||
recordLogService.recordLogininfor(username, Constants.LOGIN_FAIL, "登录用户不存在");
|
recordLogService.recordLogininfor(username, Constants.LOGIN_FAIL, "登录用户不存在");
|
||||||
throw new ServiceException("登录用户:" + username + " 不存在");
|
throw new ServiceException("用户不存在/密码错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (R.FAIL == userResult.getCode()) {
|
if (R.FAIL == userResult.getCode()) {
|
||||||
|
|
|
||||||
|
|
@ -654,11 +654,6 @@ public class TmTaskServiceImpl implements TmTaskService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 存入领料任务实体集合
|
|
||||||
tmTask.setLeaseApplyInfoList(collect);
|
|
||||||
if (collect.size() > 0) {
|
|
||||||
tmTask.setRemark(collect.get(0).getRemark());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//施管部只能看到机具分公司(101)的数据
|
//施管部只能看到机具分公司(101)的数据
|
||||||
if (roles.contains("jjfgs") || roles.contains("sgb") || deptId == 101) {
|
if (roles.contains("jjfgs") || roles.contains("sgb") || deptId == 101) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue