|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
|
|
|
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
return "迟到打卡"; |
|
|
return "迟到打卡"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
return "打卡成功"; |
|
|
return "打卡成功"; |
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
return "迟到打卡"; |
|
|
return "迟到打卡"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "打卡成功"; |
|
|
return "打卡成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setClockOutStatus("5"); |
|
|
dkCheckInRecord.setClockOutStatus("5"); |
|
|
} |
|
|
} |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "更新打卡成功"; |
|
|
return "更新打卡成功"; |
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
|
|
|
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.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
return "提前打卡"; |
|
|
return "提前打卡"; |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "打卡成功"; |
|
|
return "打卡成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "提前打卡"; |
|
|
return "提前打卡"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "打卡成功"; |
|
|
return "打卡成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); |
|
|
dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); |
|
|
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); |
|
|
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
|
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
return "打卡成功"; |
|
|
return "打卡成功"; |
|
|
} |
|
|
} |