EnrollmentStatisticsInfoMapper.java 1.0 KB

123456789101112131415161718192021222324
  1. package com.xjrsoft.module.student.mapper;
  2. import com.github.yulichang.base.MPJBaseMapper;
  3. import com.xjrsoft.module.student.entity.EnrollmentPlan;
  4. import com.xjrsoft.module.student.entity.EnrollmentStatisticsInfo;
  5. import org.apache.ibatis.annotations.Delete;
  6. import org.apache.ibatis.annotations.Mapper;
  7. import org.apache.ibatis.annotations.Param;
  8. /**
  9. * @title: 攀宝招生数据统计表
  10. * @Author dzx
  11. * @Date: 2025年3月17日
  12. * @Version 1.0
  13. */
  14. @Mapper
  15. public interface EnrollmentStatisticsInfoMapper extends MPJBaseMapper<EnrollmentStatisticsInfo> {
  16. @Delete("delete from enrollment_statistics_info where delete_mark = 0 and data_day = #{dataDay} and data_type = 2")
  17. Boolean deleteGraduationDataByDate(@Param("dataDay") String dataDay);
  18. @Delete("delete from enrollment_statistics_info where delete_mark = 0 and data_start_day = #{dataStartDay} and data_end_day = #{dataEndDay} and data_type = 3")
  19. Boolean deleteCalendarDataByDate(@Param("dataStartDay") String dataStartDay, @Param("dataEndDay") String dataEndDay);
  20. }