whycxzp
2021-09-24 b7226efbe9f5fdcfe33b152baf91eac6ab44b30a
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);
}