|
@@ -165,7 +165,7 @@ public class OrgStatisticsController extends BaseController {
|
|
|
List<DeptStaffDto> list = orgStatisticsService.fzdyStaffDetails();
|
|
|
if (deptStaffDto != null && StringUtils.isNotBlank(deptStaffDto.getDeptName())) {
|
|
|
String deptName = deptStaffDto.getDeptName();
|
|
|
- List<DeptStaffDto> result = list.stream().filter(s -> s.getDeptName().equals(deptName)).collect(Collectors.toList());
|
|
|
+ List<DeptStaffDto> result = list.stream().filter(s -> s.getDeptName().contains(deptName)).collect(Collectors.toList());
|
|
|
return getDataTable(result);
|
|
|
}
|
|
|
return getDataTable(list);
|