whyczh
2021-03-31 305c7b36ac9e92df0e9d8f998067fcd640106e37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.whyc.mapper;
 
import com.whyc.pojo.MotorState;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface MotorStateMapper extends CustomMapper<MotorState>{
 
    List<MotorState> getHistoryData(@Param("tableName") String tableName);
 
    List<MotorState> getDataByTime(@Param("tableName") String tableName, @Param("startTime")String startTime,@Param("endTime")String endTime);
}