package com.zcloud.primeport.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zcloud.primeport.persistence.dataobject.VehicleViolationsDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * web-infrastructure
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:29
 */
@Mapper
public interface VehicleViolationsMapper extends BaseMapper<VehicleViolationsDO> {

    IPage<VehicleViolationsDO> violationRecordslistPage(Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);

    List<VehicleViolationsDO> listVehicleViolationByLicenceNo(String licenceNo);
}

