地质所 沉降监测网建设项目
zmk
2024-05-15 9e3afc6d0fa514f986d3fea40fa23124e6fb5070
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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);
}