package com.hzs.activity.declaration.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.activity.declaration.param.AcDeclarationListParam;
import com.hzs.activity.declaration.param.AcDeclarationListTotalParam;
import com.hzs.activity.declaration.vo.AcDeclarationTotalListVO;
import com.hzs.common.domain.activity.declaration.AcDeclarationGiftRecord;
import com.hzs.activity.declaration.vo.AcDeclarationListVO;
import com.hzs.common.domain.activity.base.ext.AcGiftConfigExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 报单赠品明细表 Mapper 接口
 * </p>
 *
 * @author bd
 * @since 2025-10-13
 */
public interface AcDeclarationGiftRecordMapper extends BaseMapper<AcDeclarationGiftRecord> {

    List<AcDeclarationListVO> queryList(AcDeclarationListParam param);

    List<AcDeclarationListVO> selectDeclarationList(AcDeclarationListParam param);

    AcDeclarationGiftRecord selectLastRecord();

    List<AcGiftConfigExt> queryListByRuleList(@Param("pkDataId") List<Long> pkDataId,@Param("pkCountry") Integer pkCountry);

    List<AcDeclarationTotalListVO> selectDeclarationListTotal(AcDeclarationListTotalParam param);
}
