| | |
| | | import java.util.Map;
|
| | |
|
| | | import com.moral.entity.History;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | public interface HistoryMapper {
|
| | | int insert(History record);
|
| | |
| | |
|
| | | int insertHistorySpecialTable(Map<String, Object> parameters);
|
| | |
|
| | | int deleteHistoryData(String oldTime);
|
| | |
|
| | | void deletePartition(@Param("p") String p);
|
| | |
|
| | | void createHistoryTable(@Param("yearMonthDay") String yearMonthDay);
|
| | |
|
| | | void dropHistoryTable(@Param("yearMonthDay") String yearMonthDay);
|
| | |
|
| | | History selectLastDataByMac(@Param("yearMonthDay") String yearMonthDay, @Param("mac") String mac);
|
| | |
|
| | | } |