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 getIndexStorage(String indexId); void saveParams(String storageId, List parameterIds); List getAllParameter(); List getAllCalcIndexStorage(CalcType calc); IndexStorage getWithTimetype(@Param("indexId") String indexId, @Param("timeType") TimeType timeType); }