package com.hzs.activity.pick.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.activity.pick.param.AcPickLogQueryParam;
import com.hzs.common.domain.activity.pick.AcPickLog;
import com.hzs.common.domain.activity.pick.ext.AcPickLogExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 提货操作日志表 Mapper 接口
 *
 * @author hzs
 * @since 2023-04-21
 */
public interface AcPickLogMapper extends BaseMapper<AcPickLog> {

    /**
     * 查询列表
     *
     * @param param     查询参数
     * @param pkCountry 所属国家
     * @return
     */
    List<AcPickLogExt> queryList(@Param("param") AcPickLogQueryParam param, @Param("pkCountry") Integer pkCountry);

    /**
     * 批量插入
     *
     * @param logList
     * @return
     */
    int insertBatch(@Param("logList") List<AcPickLog> logList);

}
