Commit b4702859 by qwmqiuwenmin

fix

parent 61118d89
......@@ -407,7 +407,6 @@ public class DepartmentContoller extends WebBaseController{
}
String chainId = department.getChainId() + Constant.ID_SEPARATOR + departmentId;
String[] chainIdArr = chainId.split(Constant.ID_SEPARATOR);
DepartmentChainVO chainVO = null;
List<DepartmentChainVO> list = new ArrayList<>();
for (String string : chainIdArr) {
if("0".equals(string)){
......@@ -417,7 +416,7 @@ public class DepartmentContoller extends WebBaseController{
DepartmentChainVO chain = EntityUtil.changeEntityByJSON(DepartmentChainVO.class, son);
list.add(chain);
}
return resultResponse(HaoBanErrCode.ERR_1,chainVO);
return resultResponse(HaoBanErrCode.ERR_1,list);
}
@RequestMapping("department-batch-sync-success")
......
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