Commit f6d0077e by qwmqiuwenmin

fix

parent e817e45f
......@@ -415,9 +415,9 @@ public class DepartmentContoller extends WebBaseController{
DepartmentDTO son = departmentApiService.selectById(string);
DepartmentChainVO chain = EntityUtil.changeEntityByJSON(DepartmentChainVO.class, son);
if(chainVO != null){
DepartmentChainVO diguiChian = null;
DepartmentChainVO diguiChian = chainVO;
while(diguiChian.getSonDepartment() != null){
diguiChian = chainVO.getSonDepartment();
diguiChian = diguiChian.getSonDepartment();
}
diguiChian.setSonDepartment(chain);
......
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