package com.friday.custody.dao;

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

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

    OutsourcingInfoEntity selectByParentIdAndAdmin(String admin, String id);
}
