Commit cba7e263 by qwmqiuwenmin

fix

parent 01c972d8
......@@ -71,7 +71,7 @@ public class DepartmentContoller extends WebBaseController{
for (DepartmentDTO departmentDTO : result) {
String chainId = departmentDTO.getChainId() + Constant.ID_SEPARATOR + departmentDTO.getDepartmentId();
List<DepartmentDTO> sonList = departmentApiService.listByChainId(chainId,wxEnterpriseId);
int staffCount = 0;
int staffCount = staffApiService.countByDepartmentId(departmentDTO.getDepartmentId());;
for (DepartmentDTO departmentDTO2 : sonList) {
staffCount += staffApiService.countByDepartmentId(departmentDTO2.getDepartmentId());
}
......
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