package yangtz.cs.liu.campus.mapper.patrol;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import yangtz.cs.liu.campus.domain.patrol.SchoolPatrolDetails;
import yangtz.cs.liu.campus.domain.patrol.SchoolPatrolRuleDetails;

import java.util.List;

@Mapper
public interface SchoolPatrolRuleDetailsMapper extends BaseMapper<SchoolPatrolRuleDetails> {

    /**
     * 通过ruleId查询
     *
     * @param ruleId
     * @return
     */
    List<SchoolPatrolDetails> selectByRuleId(Long ruleId);
}
