WeeklyDutyScheduleMapper.java 568 B

1234567891011121314151617181920
  1. package com.xjrsoft.module.weekly.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.github.yulichang.base.MPJBaseMapper;
  4. import com.xjrsoft.module.weekly.entity.WeeklyDutySchedule;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Update;
  7. /**
  8. * @title: 值周排班
  9. * @Author dzx
  10. * @Date: 2023-12-30
  11. * @Version 1.0
  12. */
  13. @Mapper
  14. public interface WeeklyDutyScheduleMapper extends MPJBaseMapper<WeeklyDutySchedule> {
  15. //清空指定表
  16. @Update("truncate table weekly_duty_schedule")
  17. void deleteAll();
  18. }