ustcyc
2025-01-07 de5d55508afd27fb2b47e6d4d6fd9984525c222c
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
package com.zhitan.model.mapper;
 
import com.zhitan.common.enums.CalcType;
import com.zhitan.common.enums.TimeType;
import com.zhitan.model.domain.IndexStorage;
import com.zhitan.model.domain.IndexStorageParam;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface IndexStorageMapper {
 
  void insertIndexStorage(IndexStorage storage);
 
  void updateIndexStorage(IndexStorage storage);
 
  List<IndexStorage> getIndexStorage(String indexId);
 
  void saveParams(@Param("storageId")String storageId, @Param("parameterIds")List<String> parameterIds);
 
  List<IndexStorageParam> getAllParameter();
 
  List<IndexStorage> getAllCalcIndexStorage(CalcType calc);
 
  IndexStorage getWithTimetype(@Param("indexId") String indexId, @Param("timeType") TimeType timeType);
}