|
@@ -3,6 +3,7 @@ package org.jeecg.modules.iotedgeCollectData.mapper;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
import org.jeecg.modules.iotedgeCollectData.entity.IotedgeCollectData;
|
|
import org.jeecg.modules.iotedgeCollectData.entity.IotedgeCollectData;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
|
@@ -15,4 +16,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
public interface IotedgeCollectDataMapper extends BaseMapper<IotedgeCollectData> {
|
|
public interface IotedgeCollectDataMapper extends BaseMapper<IotedgeCollectData> {
|
|
|
|
|
|
IotedgeCollectData getOneInfo(@Param("deviceId") String deviceId,@Param("moduleName") String moduleName,@Param("tagName") String tagName,@Param("beginDate") String beginDate);
|
|
IotedgeCollectData getOneInfo(@Param("deviceId") String deviceId,@Param("moduleName") String moduleName,@Param("tagName") String tagName,@Param("beginDate") String beginDate);
|
|
|
|
+
|
|
|
|
+ @Select("truncate table iotedge_collect_data")
|
|
|
|
+ void truncateTable();
|
|
|
|
+
|
|
}
|
|
}
|