package com.friday.custody.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.friday.custody.entity.OneInvestorInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 1级投资者信息
 * 
 * @author K0051745
 * @email sunlightcs@gmail.com
 * @date 2022-09-22 09:32:07
 */
@Mapper
public interface OneInvestorInfoDao extends BaseMapper<OneInvestorInfoEntity> {

    void insertByMap(@Param("tableName") String tableName,
                     @Param("map") Map<String, Object> map);

    OneInvestorInfoEntity selectByParentIdAndAdmin(String admin, String id);
}
