package com.javaweb.geo.mapper;
|
|
import com.javaweb.geo.domain.DataSource;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 数据来源Mapper接口
|
*
|
* @author cxy
|
* @date 2022-12-30
|
*/
|
public interface DataSourceMapper
|
{
|
/**
|
* 查询数据来源
|
*
|
* @param ids 数据来源ID
|
* @return 数据来源
|
*/
|
public DataSource selectDataSourceById(String ids);
|
|
/**
|
* 查询数据来源列表
|
*
|
* @param dataSource 数据来源
|
* @return 数据来源集合
|
*/
|
public List<DataSource> selectDataSourceList(DataSource dataSource);
|
|
/**
|
* 新增数据来源
|
*
|
* @param dataSource 数据来源
|
* @return 结果
|
*/
|
public int insertDataSource(DataSource dataSource);
|
|
/**
|
* 修改数据来源
|
*
|
* @param dataSource 数据来源
|
* @return 结果
|
*/
|
public int updateDataSource(DataSource dataSource);
|
|
/**
|
* 删除数据来源
|
*
|
* @param ids 数据来源ID
|
* @return 结果
|
*/
|
public int deleteDataSourceById(String ids);
|
|
/**
|
* 批量删除数据来源
|
*
|
* @param idss 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteDataSourceByIds(String[] idss);
|
|
String selectDataSourceBySecretKey(@Param("secretKey") String secretKey);
|
|
String selectCompanyIdBySecretKey(@Param("secretKey") String secretKey);
|
|
int updateDataSourceBySecretKey(@Param("secretKey") String secretKey , @Param("companyId") String companyId);
|
}
|