package com.hotwj.platform.securityManagement.violationInfo.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hotwj.platform.securityManagement.violationInfo.domain.HotViolationInfo;
import com.hotwj.platform.securityManagement.violationInfo.domain.bo.HotViolationInfoBo;
import com.hotwj.platform.securityManagement.violationInfo.domain.vo.HotViolationInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 违规信息Mapper接口
 *
 * @author shihongwei
 * @date 2026-01-06
 */
@Mapper
public interface HotViolationInfoMapper extends BaseMapperPlus<HotViolationInfo, HotViolationInfoVo> {

    /**
     * 查询驾驶员违规列表
     *
     * @param page 分页参数
     * @param bo   查询条件
     * @return 列表
     */
    Page<HotViolationInfoVo> queryDriverViolationList(Page<HotViolationInfoVo> page, @Param("bo") HotViolationInfoBo bo);
}
