Commit b7a9ac6c by qwmqiuwenmin

fix

parent 873217ae
......@@ -408,7 +408,9 @@ public class DepartmentContoller extends WebBaseController{
String chainId = departmentId;
while(department != null){
department = departmentApiService.selectById(department.getParentDepartmentId());
chainId = Constant.ID_SEPARATOR + department.getDepartmentId();
if(department != null){
chainId = Constant.ID_SEPARATOR + department.getDepartmentId();
}
}
String[] chainIdArr = chainId.split(Constant.ID_SEPARATOR);
List<DepartmentChainVO> list = new ArrayList<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment