liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
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
package com.dingzhuo.energy.data.model.mapper;
 
import com.dingzhuo.energy.common.utils.time.TimeType;
import com.dingzhuo.energy.data.model.domain.CalcType;
import com.dingzhuo.energy.data.model.domain.IndexStorage;
import com.dingzhuo.energy.data.model.domain.IndexStorageParam;
import java.util.List;
import org.apache.ibatis.annotations.Param;
 
public interface IndexStorageMapper {
 
  void insertIndexStorage(IndexStorage storage);
 
  void updateIndexStorage(IndexStorage storage);
 
  List<IndexStorage> getIndexStorage(String indexId);
 
  void saveParams(String storageId, List<String> parameterIds);
 
  List<IndexStorageParam> getAllParameter();
 
  List<IndexStorage> getAllCalcIndexStorage(CalcType calc);
 
  IndexStorage getWithTimetype(@Param("indexId") String indexId, @Param("timeType") TimeType timeType);
}