package com.hzs.bonus.achieve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.achieve.CuMemberRetailDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 日结算阶段表 Mapper 接口
 */
public interface CuMemberRetailDetailMapper extends BaseMapper<CuMemberRetailDetail> {

    /**
     * 查询明细数据（指定阶段，指定状态）
     */
    List<CuMemberRetailDetail> listMemberRetailDetail(@Param("retailDetailTableName") String retailDetailTableName,
                                                      @Param("tmpIdList") List<?> tmpIdList,
                                                      @Param("stage") Integer stage,
                                                      @Param("stageStatus") Integer stageStatus);

}
