package com.ltgk.crew.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltgk.crew.domain.dto.GetCrewIllegalReq;
import com.ltgk.crew.domain.entity.DsCrewIllegal;
import com.ltgk.crew.domain.vo.CrewIllegalCountVo;
import com.ltgk.crew.domain.vo.CrewIllegalTrendVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 船员违规记录Mapper接口
 *
 * @author Qi ChengBin
 * @date 2024-12-07
 */
@Mapper
public interface DsCrewIllegalMapper extends BaseMapper<DsCrewIllegal> {
    List<CrewIllegalCountVo> selectCount(GetCrewIllegalReq getCrewIllegalReq);

    List<CrewIllegalTrendVo> selectTrend(GetCrewIllegalReq getCrewIllegalReq);
}
