whyczh
2022-01-19 f83c4ad4117737869c5c189e48c9f99a7b16a091
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.whyc.mapper;
 
import com.whyc.pojo.PwrdevDataHistory;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;
 
import java.util.Date;
import java.util.List;
 
public interface PwrdevDataHistoryMapper extends CustomMapper<PwrdevDataHistory> {
    List<String> getTableNameList(@Param("deviceIdEnd") String deviceIdEnd);
 
    List<PwrdevDataHistory> getGtStartTime(@Param("tableName") String tableName, Date startTime);
 
    List<PwrdevDataHistory> getLtEndTime(@Param("tableName") String tableName, Date endTime);
 
    List<PwrdevDataHistory> getData(@Param("tableName") String tableName);
 
    List<PwrdevDataHistory> getWeekOrDayData(@Param("tableName") String tableName,Date startTime,Date endTime);
}