Commit cbc33671 by 陶光胜

Merge branch 'developer' of http://115.159.76.241/haoban3.0/haoban-manage3.0 into developer

parents 6756c101 77cd6995
...@@ -72,7 +72,7 @@ public class DepartmentContoller extends WebBaseController{ ...@@ -72,7 +72,7 @@ public class DepartmentContoller extends WebBaseController{
String chainId = departmentDTO.getChainId(); String chainId = departmentDTO.getChainId();
List<DepartmentDTO> sonList = departmentApiService.listByChainId(chainId,wxEnterpriseId); List<DepartmentDTO> sonList = departmentApiService.listByChainId(chainId,wxEnterpriseId);
int staffCount = 0; int staffCount = 0;
for (DepartmentDTO departmentDTO2 : result) { for (DepartmentDTO departmentDTO2 : sonList) {
staffCount += staffApiService.countByDepartmentId(departmentDTO2.getDepartmentId()); staffCount += staffApiService.countByDepartmentId(departmentDTO2.getDepartmentId());
} }
departmentDTO.setStaffCount(staffCount); departmentDTO.setStaffCount(staffCount);
......
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