package com.hzs.activity.pick.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.activity.pick.vo.AcPickMemberLogVO;
import com.hzs.common.domain.activity.pick.AcPickMemberLog;
import com.hzs.common.domain.activity.pick.ext.AcPickExt;

import java.util.List;

/**
 * 会员提货记录 服务类
 */
public interface IAcPickMemberLogService extends IService<AcPickMemberLog> {

    /**
     * 查询提货日志
     *
     * @param pkMember 会员ID
     * @return
     */
    List<AcPickMemberLogVO> queryMemberLog(Long pkMember);

    /**
     * 批量插入提货日志
     *
     * @param acPickExtList 批量插入数据
     * @param quantity      插入数量
     * @param source        来源（1=后台，2=前台）
     * @return
     */
    int insertBatch(List<AcPickExt> acPickExtList, Integer quantity, Integer source);

}
