燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2023-04-25 ecd0ef5c6a78ac091b3fc2d42035cd0582c93a3f
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
package com.yssh.dao;
 
import java.util.List;
import java.util.Map;
 
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import com.yssh.entity.DistanceSuYuan;
import com.yssh.entity.SuYuan2d;
import com.yssh.entity.SuYuan3d;
import com.yssh.entity.SuYuanMonitorData;
import com.yssh.entity.Temporary;
 
@Mapper
public interface SuYuanMapper extends BaseMapper{
    Integer isTableExists(String tableName);
 
    int createTable(@Param("tableName") String tableName);
    
    List<SuYuan2d> get2d(@Param("tableName") String tableName, @Param("ids") List<String> ids);
    
    List<SuYuan3d> get3d(@Param("tableName") String tableName, @Param("ids") List<String> ids);
 
    List<DistanceSuYuan> getDistanceSuYuan(@Param("tableName") String tableName, @Param("ids") List<String> ids);
    
    List<Temporary> getTemporary(@Param("tableName") String tableName, @Param("ids") List<String> ids);
    
    int update(@Param("tableName") String tableName, @Param("id") String id, @Param("value") String value);
 
    List<SuYuan2d> getAlarmsAnalyse(@Param("tableName") String tableName, @Param("ids") List<String> ids);
 
    List<SuYuan2d> getWarningAnalyse(@Param("tableName") String tableName, @Param("ids") List<String> ids);
    
    List<SuYuanMonitorData> getMonitorData(@Param("tableNames") List<String> tableNames, @Param("id") String id);
    
    //获取本月指定监测站点监测值对大的数据
    Map<String, Object> getMonthValueDataMax(@Param("tableNames") List<String> tableNames, @Param("id") String id);
}