package com.friday.custody.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.friday.custody.entity.ShareInfoEntity;
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 ShareInfoDao extends BaseMapper<ShareInfoEntity> {

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

    ShareInfoEntity selectByParentIdAndAdmin(String admin, String fundCode);
}
