From 79ff43f70466b303cff9941f83aced5259edfab4 Mon Sep 17 00:00:00 2001 From: mash Date: Thu, 14 Nov 2024 13:35:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ydool/staff/service/impl/PersonnelServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ydool/staff/service/impl/PersonnelServiceImpl.java b/src/main/java/com/ydool/staff/service/impl/PersonnelServiceImpl.java index 7372524..81a1532 100644 --- a/src/main/java/com/ydool/staff/service/impl/PersonnelServiceImpl.java +++ b/src/main/java/com/ydool/staff/service/impl/PersonnelServiceImpl.java @@ -600,7 +600,7 @@ public class PersonnelServiceImpl extends BaseService list = list(); + List list = list(Wrappers.lambdaQuery(Personnel.class).eq(Personnel::getState, "2").eq(Personnel::getAuditState, "3").orderByDesc(Personnel::getCreatedAt)); List personnelList = BeanUtil.copyToList(list, ExcelPersonnel.class); for (ExcelPersonnel excelPersonnel : personnelList) { CompanyName companyName = companyNameMapper.selectById(excelPersonnel.getCompanyName());