This commit is contained in:
parent
eefffb845b
commit
79ff43f704
|
@ -600,7 +600,7 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
|
|||
}
|
||||
|
||||
public void export(PersonnelDeleteRequest param, HttpServletResponse response) {
|
||||
List<Personnel> list = list();
|
||||
List<Personnel> list = list(Wrappers.lambdaQuery(Personnel.class).eq(Personnel::getState, "2").eq(Personnel::getAuditState, "3").orderByDesc(Personnel::getCreatedAt));
|
||||
List<ExcelPersonnel> personnelList = BeanUtil.copyToList(list, ExcelPersonnel.class);
|
||||
for (ExcelPersonnel excelPersonnel : personnelList) {
|
||||
CompanyName companyName = companyNameMapper.selectById(excelPersonnel.getCompanyName());
|
||||
|
|
Loading…
Reference in New Issue