package com.xjrsoft.module.attendance.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.module.attendance.dto.AddAttendanceRuleCategoryDto;
import com.xjrsoft.module.attendance.dto.UpdateAttendanceRuleCategoryDto;
import com.xjrsoft.module.attendance.entity.AttendanceRuleCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @title: 考勤规则
* @Author dzx
* @Date: 2024-05-08
* @Version 1.0
*/
@Mapper
public interface AttendanceRuleCategoryMapper extends MPJBaseMapper<AttendanceRuleCategory> {

    Integer getExistCount(@Param("dto") AddAttendanceRuleCategoryDto dto);

    Integer getExistCountNEId(@Param("dto") UpdateAttendanceRuleCategoryDto dto);
}
