package com.hzs.member.base.mapper;

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

import java.util.List;

public interface CuMemberRetailDetailMapper extends BaseMapper<CuMemberRetailDetail> {
    List<ChildCodeVO> getChildList(@Param("memberCode") String memberCode,
                                   @Param("stage")Integer stage,
                                   @Param("stageStatus")Integer stageStatus,
                                   @Param("settleTableName")String settleTableName);

    CuMemberRetailDetail getCuMemberRetailDetailExt(@Param("memberCode")String memberCode,
                                                       @Param("stage")Integer stage,
                                                       @Param("stageStatus")Integer stageStatus,
                                                       @Param("childNode")String childNode,
                                                       @Param("settleTableName")String settleTableName);

    Integer getFindCumemberRetailDetail(@Param("settleTableName") String settleTableName);
}
