Pārlūkot izejas kodu

修改打卡考勤状态值

main
1341924763@qq.com pirms 1 mēnesi
vecāks
revīzija
e3db1c1931

+ 3
- 0
zs-manager/src/main/java/com/ruoyi/zhushi/entity/DkCheckInRecordDTO.java Parādīt failu

private String week; private String week;


private int day; private int day;

// 模版类型
private String modelType;
} }

+ 4
- 4
zs-manager/src/main/java/com/ruoyi/zhushi/service/impl/DkAppServiceImpl.java Parādīt failu

dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn()));
dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn()));
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); dkCheckInRecord.setCheckInType(appDTO.getCheckInType());
dkCheckInRecord.setCheckInStatus("2");
dkCheckInRecord.setCheckInStatus("3");
dkCheckInRecord.setMonth(appDTO.getMonth()); dkCheckInRecord.setMonth(appDTO.getMonth());
dkCheckInRecord.setWeek(appDTO.getWeek()); dkCheckInRecord.setWeek(appDTO.getWeek());
dkCheckInRecord.setDay(appDTO.getDay()); dkCheckInRecord.setDay(appDTO.getDay());
dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn()));
dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockIn()));
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); dkCheckInRecord.setCheckInType(appDTO.getCheckInType());
dkCheckInRecord.setCheckInStatus("2");
dkCheckInRecord.setCheckInStatus("3");
dkCheckInRecord.setMonth(appDTO.getMonth()); dkCheckInRecord.setMonth(appDTO.getMonth());
dkCheckInRecord.setWeek(appDTO.getWeek()); dkCheckInRecord.setWeek(appDTO.getWeek());
dkCheckInRecord.setDay(appDTO.getDay()); dkCheckInRecord.setDay(appDTO.getDay());
dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut()));
dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut()));
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); dkCheckInRecord.setCheckInType(appDTO.getCheckInType());
dkCheckInRecord.setCheckInStatus("1");
dkCheckInRecord.setCheckInStatus("2");
dkCheckInRecord.setMonth(appDTO.getMonth()); dkCheckInRecord.setMonth(appDTO.getMonth());
dkCheckInRecord.setWeek(appDTO.getWeek()); dkCheckInRecord.setWeek(appDTO.getWeek());
dkCheckInRecord.setDay(appDTO.getDay()); dkCheckInRecord.setDay(appDTO.getDay());
dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); dkCheckInRecord.setCheckInTime(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut()));
dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut()));
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); dkCheckInRecord.setCheckInType(appDTO.getCheckInType());
dkCheckInRecord.setCheckInStatus("1");
dkCheckInRecord.setCheckInStatus("2");
dkCheckInRecord.setMonth(appDTO.getMonth()); dkCheckInRecord.setMonth(appDTO.getMonth());
dkCheckInRecord.setWeek(appDTO.getWeek()); dkCheckInRecord.setWeek(appDTO.getWeek());
dkCheckInRecord.setDay(appDTO.getDay()); dkCheckInRecord.setDay(appDTO.getDay());

+ 1
- 1
zs-manager/src/main/java/com/ruoyi/zhushi/service/impl/DkRecordServiceImpl.java Parādīt failu

FileInputStream templateFile; FileInputStream templateFile;
Workbook workbook; Workbook workbook;
// 加载模板文件 // 加载模板文件
templateFile = new FileInputStream("template.xlsx");
templateFile = new FileInputStream("template-guonei.xlsx");
workbook = WorkbookFactory.create(templateFile); workbook = WorkbookFactory.create(templateFile);
Sheet templateSheet = workbook.getSheetAt(0); Sheet templateSheet = workbook.getSheetAt(0);
for (int i = 0; i < dkCheckInRecordDTOS.size(); i++){ for (int i = 0; i < dkCheckInRecordDTOS.size(); i++){

Notiek ielāde…
Atcelt
Saglabāt