package com.ltgk.catches.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltgk.catches.domain.dto.TpFishCatchRecordReq;
import com.ltgk.catches.domain.entity.TpFishCatchRecord;
import com.ltgk.catches.domain.vo.TpFishCatchStatsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 渔获记录Mapper接口
 *
 * @author Qi ChengBin
 * @date 2025-01-07
 */
public interface TpFishCatchRecordMapper extends BaseMapper<TpFishCatchRecord> {

    /**
     * 时间范围内的渔获情况统计
     *
     * @param tpFishCatchRecordReq: 渔获上岸明细记录 数据传输对象
     * @return java.util.List<com.ltgk.catches.domain.vo.TpFishCatchStatsVO>
     * @author Qi ChengBin
     * @date 2025/1/8 17:12
     */
    List<TpFishCatchStatsVO> findFishCatchStatsList(@Param("params") TpFishCatchRecordReq tpFishCatchRecordReq);
}
