|
|
@@ -6,6 +6,7 @@ import com.xjrsoft.module.attendance.dto.TeacherDetailsDto;
|
|
|
import com.xjrsoft.module.attendance.entity.TeacherAttendanceRecord;
|
|
|
import com.xjrsoft.module.attendance.vo.TeacherStatisticsPageVo;
|
|
|
import com.xjrsoft.module.teacher.entity.WfTeacherleave;
|
|
|
+import org.apache.ibatis.annotations.Delete;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
@@ -25,4 +26,7 @@ public interface TeacherAttendanceRecordMapper extends MPJBaseMapper<TeacherAtte
|
|
|
|
|
|
|
|
|
List<TeacherAttendanceRecord> getLeaveList(@Param("dto") WfTeacherleave dto);
|
|
|
+
|
|
|
+ @Delete("delete from teacher_attendance_record where time_interval = #{timePeriod} and attendance_date = '#{attendanceDate}'")
|
|
|
+ Boolean deleteRecord(@Param("timePeriod") Integer timePeriod, @Param("attendanceDate") String attendanceDate);
|
|
|
}
|