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);
|
}
|