fix
This commit is contained in:
parent
26cdb127fb
commit
1d1ea48651
@ -102,7 +102,7 @@ public class ExportController {
|
|||||||
writer.merge(7 + data.size(),8 + data.size(),0,0,"签字",false);
|
writer.merge(7 + data.size(),8 + data.size(),0,0,"签字",false);
|
||||||
|
|
||||||
//设置下拉框数据
|
//设置下拉框数据
|
||||||
String[] values = { "当月入职", "当月离职", "当月跨部门调动", "当月转正", "已转正", "试用期"};
|
String[] values = {"已转正", "试用期"};
|
||||||
Sheet sheet = writer.getSheet();
|
Sheet sheet = writer.getSheet();
|
||||||
int firstRow = 4;
|
int firstRow = 4;
|
||||||
int lastRow = 4;
|
int lastRow = 4;
|
||||||
|
|||||||
@ -16,7 +16,7 @@ public class LevelDetailExportRes {
|
|||||||
//姓名
|
//姓名
|
||||||
private String staffName;
|
private String staffName;
|
||||||
//当月状态
|
//当月状态
|
||||||
private int staffType;
|
private String staffType;
|
||||||
//一级部门
|
//一级部门
|
||||||
private String departmentOne;
|
private String departmentOne;
|
||||||
//二级部门
|
//二级部门
|
||||||
|
|||||||
@ -80,8 +80,6 @@ public class ChartResultServiceImpl implements ChartResultService {
|
|||||||
private EvaluationGroupMapper evaluationGroupMapper;
|
private EvaluationGroupMapper evaluationGroupMapper;
|
||||||
@Autowired
|
@Autowired
|
||||||
private StaffOccupationService staffOccupationService;
|
private StaffOccupationService staffOccupationService;
|
||||||
@Autowired
|
|
||||||
private StaffWorkTransferRecordService staffWorkTransferRecordService;
|
|
||||||
|
|
||||||
private static final Long processId = 1L;
|
private static final Long processId = 1L;
|
||||||
|
|
||||||
@ -290,13 +288,16 @@ public class ChartResultServiceImpl implements ChartResultService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO 人员变动信息 人员状态
|
|
||||||
//staffWorkTransferRecordService
|
|
||||||
|
|
||||||
//拷贝为excel格式
|
//拷贝为excel格式
|
||||||
List<LevelDetailExportRes> levelDetailExportRes = levelDetailExportDtos.stream().map(levelDetailExportDto -> {
|
List<LevelDetailExportRes> levelDetailExportRes = levelDetailExportDtos.stream().map(levelDetailExportDto -> {
|
||||||
LevelDetailExportRes res = new LevelDetailExportRes();
|
LevelDetailExportRes res = new LevelDetailExportRes();
|
||||||
BeanUtils.copyProperties(levelDetailExportDto,res);
|
BeanUtils.copyProperties(levelDetailExportDto,res);
|
||||||
|
if(1 == levelDetailExportDto.getStaffType()){
|
||||||
|
res.setStaffType("已转正");
|
||||||
|
}
|
||||||
|
if(2 == levelDetailExportDto.getStaffType()){
|
||||||
|
res.setStaffType("试用期");
|
||||||
|
}
|
||||||
return res;
|
return res;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|
||||||
|
|||||||
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
<select id="selectStaffTypesByStaffIds" resultType="com.lz.modules.performance.dto.StaffTypeDto">
|
<select id="selectStaffTypesByStaffIds" resultType="com.lz.modules.performance.dto.StaffTypeDto">
|
||||||
select staff_id,staff_type,position,staff_status,entry_time,official_time from lz_staff_occupation
|
select staff_id,staff_type,position,staff_status,entry_time,official_time from lz_staff_occupation
|
||||||
where is_delete = 0 and
|
where is_delete = 0 and staff_status = 0 and
|
||||||
staff_id in
|
staff_id in
|
||||||
<foreach collection="staffIds" item="staff_id" open="(" close=")"
|
<foreach collection="staffIds" item="staff_id" open="(" close=")"
|
||||||
separator=",">
|
separator=",">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user