测试问题项修改
This commit is contained in:
parent
16dc57e902
commit
d1c8638876
|
|
@ -316,6 +316,9 @@ public class SysUserServiceImpl implements ISysUserService {
|
||||||
SysDept sysDept = deptMapper.selectDeptById(deptId);
|
SysDept sysDept = deptMapper.selectDeptById(deptId);
|
||||||
String ancestors = sysDept.getAncestors();
|
String ancestors = sysDept.getAncestors();
|
||||||
String[] split = ancestors.split(",");
|
String[] split = ancestors.split(",");
|
||||||
|
if (deptId == 100){
|
||||||
|
user.setCompanyId(deptId);
|
||||||
|
}
|
||||||
if (split.length == 2) {
|
if (split.length == 2) {
|
||||||
//表示属于分公司
|
//表示属于分公司
|
||||||
user.setCompanyId(sysDept.getDeptId());
|
user.setCompanyId(sysDept.getDeptId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue