Commit 8483bb6c authored by 廖旭伟's avatar 廖旭伟

考勤人员花名册接口功能调整

parent b4479a06
...@@ -142,7 +142,7 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity ...@@ -142,7 +142,7 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
DeptEntity deptEntity = iterator.next(); DeptEntity deptEntity = iterator.next();
StaffQuery staffQuery = new StaffQuery(); StaffQuery staffQuery = new StaffQuery();
staffQuery.setDeptId(deptEntity.getId()); staffQuery.setDeptId(deptEntity.getId());
staffQuery.setStatusList(Arrays.asList(StaffSatusEnum.正式.getValue(), StaffSatusEnum.试用.getValue())); staffQuery.setStatusNotList(Arrays.asList(StaffSatusEnum.离职.getValue()));
List<StaffEntity> staffEntities = staffService.find(staffQuery); List<StaffEntity> staffEntities = staffService.find(staffQuery);
List<Map<String, Object>> personList = new ArrayList<>(); List<Map<String, Object>> personList = new ArrayList<>();
staffEntities.forEach(item -> { staffEntities.forEach(item -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment