修改状态
This commit is contained in:
parent
50bd5ec3b5
commit
9f855314d6
|
@ -109,6 +109,7 @@ public class OrganizationServiceImpl extends BaseService<OrganizationMapper, Org
|
||||||
record.setSurplus(Math.toIntExact(places.getSum() - totalPersonnelCount));
|
record.setSurplus(Math.toIntExact(places.getSum() - totalPersonnelCount));
|
||||||
int retireeCount = personnelService.count(eq.eq(Personnel::getIsInfo, Boolean.TRUE));
|
int retireeCount = personnelService.count(eq.eq(Personnel::getIsInfo, Boolean.TRUE));
|
||||||
record.setRetiree(retireeCount);
|
record.setRetiree(retireeCount);
|
||||||
|
eq.clear();
|
||||||
int whetherIsQuit = personnelService.count(eq.eq(Personnel::getWhetherIsQuit, Boolean.TRUE));
|
int whetherIsQuit = personnelService.count(eq.eq(Personnel::getWhetherIsQuit, Boolean.TRUE));
|
||||||
record.setQuit(whetherIsQuit);
|
record.setQuit(whetherIsQuit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue