package com.friday.custody.dao;


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

import java.util.Map;

/**
 * 顾问信息
 * 
 * @author K0051745
 * @email sunlightcs@gmail.com
 * @date 2022-09-22 09:32:07
 */
@Mapper
public interface AdvisorInfoDao extends BaseMapper<AdvisorInfoEntity> {

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

    AdvisorInfoEntity selectByParentIdAndAdmin(String admin, String id);
}
