昂立,薪酬调整人员需求变更

This commit is contained in:
Harryxzy 2024-06-11 16:46:27 +08:00
parent ffef539f2e
commit 2b8e4cbfe2
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import com.engine.salary.service.impl.SalaryEmployeeServiceImpl;
import com.engine.salary.service.impl.TaxAgentServiceImpl;
import com.engine.salary.util.SalaryI18nUtil;
import com.engine.salary.util.page.PageInfo;
import com.engine.salary.util.page.SalaryPageUtil;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.math.NumberUtils;
import weaver.hrm.User;
@ -114,7 +115,7 @@ public class SalaryAcctEmployeeWrapper extends Service {
private PageInfo<SalaryAccEmployeeListDTO> convert2ListDTO(PageInfo<SalaryAcctEmployeePO> page) {
List<SalaryAcctEmployeePO> list = page.getList();
if (CollectionUtils.isEmpty(list)) {
return new PageInfo<>(SalaryAccEmployeeListDTO.class);
return SalaryPageUtil.buildPage(page.getPageNum(), page.getPageSize(), SalaryAccEmployeeListDTO.class);
}
// 查询人员信息
List<Long> employeeIds = list.stream().map(SalaryAcctEmployeePO::getEmployeeId).collect(Collectors.toList());