|
|
@@ -81,6 +81,9 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
|
|
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
|
return "迟到打卡"; |
|
|
|
} |
|
|
@@ -101,6 +104,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
|
return "打卡成功"; |
|
|
|
}else{ |
|
|
@@ -120,6 +125,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insert(dkCheckInRecord); |
|
|
|
return "迟到打卡"; |
|
|
|
} |
|
|
@@ -142,6 +149,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "打卡成功"; |
|
|
|
} |
|
|
@@ -224,6 +233,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setClockOutStatus("5"); |
|
|
|
} |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "更新打卡成功"; |
|
|
|
}else{ |
|
|
@@ -248,6 +259,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setMonth(appDTO.getMonth()); |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
return "提前打卡"; |
|
|
@@ -267,6 +280,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "打卡成功"; |
|
|
|
} |
|
|
@@ -285,6 +300,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "提前打卡"; |
|
|
|
} |
|
|
@@ -302,6 +319,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setWeek(appDTO.getWeek()); |
|
|
|
dkCheckInRecord.setDay(appDTO.getDay()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "打卡成功"; |
|
|
|
} |
|
|
@@ -324,7 +343,8 @@ public class DkAppServiceImpl implements DkAppService { |
|
|
|
dkCheckInRecord.setClockOut(TimeUtils.parseStr2LocalDateTime(appDTO.getClockOut())); |
|
|
|
dkCheckInRecord.setCheckInType(appDTO.getCheckInType()); |
|
|
|
dkCheckInRecord.setDescription(appDTO.getDescription()); |
|
|
|
|
|
|
|
dkCheckInRecord.setAttendanceGroupId(appDTO.getAttendanceGroupId()); |
|
|
|
dkCheckInRecord.setAttendanceGroupName(appDTO.getAttendanceGroupName()); |
|
|
|
dkRecordMapper.insertOrUpdate(dkCheckInRecord); |
|
|
|
return "打卡成功"; |
|
|
|
} |