package com.ltgk.boat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltgk.boat.domain.dto.FindBoatCreditReq;
import com.ltgk.boat.domain.dto.GetBoatIllegalReq;
import com.ltgk.boat.domain.entity.DsBoatIllegal;
import com.ltgk.boat.domain.vo.DsBoatCreditVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: w1826
 * @Description: TODO
 * @Date: 2024/10/29 13:52
 * @Version: 1.0
 */
public interface DsBoatIllegalMapper extends BaseMapper<DsBoatIllegal> {
    List<DsBoatIllegal> getBoatIllegalList(
            @Param("params") GetBoatIllegalReq getBoatIllegalReq,
            @Param("streets") String streets,
            @Param("villages") String villages);

    /**
     * 分页查询渔船信用列表
     * @author Qi ChengBin
     * @param req: 分页查询渔船信用列表请求参数
     * @return com.ltgk.common.core.page.TableDataInfo
     * @date 2025/2/27
     */
    List<DsBoatCreditVO> findBoatCreditList(@Param("req") FindBoatCreditReq req);
}
