package com.cf.imes.module.system.dal.mysql.datasource;


import com.cf.imes.framework.mybatis.core.mapper.BaseMapperX;
import com.cf.imes.module.system.controller.admin.datasource.vo.DataSourceFiledReqVO;
import com.cf.imes.module.system.controller.admin.datasource.vo.DataSourceSaveReqVO;
import com.cf.imes.module.system.dal.dataobject.datasource.DataSourceDO;
import com.cf.imes.module.system.dal.dataobject.datasource.DataSourceFiledDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface DataSourceFiledMapper extends BaseMapperX<DataSourceFiledDO> {


    List<DataSourceFiledReqVO> selectFiledList(@Param("ids")List<Long> ids);


    List<DataSourceFiledDO> selectFiled(@Param("sourceFields") List<DataSourceSaveReqVO> sourceFields);


    List<DataSourceFiledDO> selectFiledListByKey(@Param("keyList") List<String> keyList);

}
