From 08b6a55a3a111aaee9842999b85afa60b6d61dc3 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 14 十一月 2024 15:29:38 +0800
Subject: [PATCH] 大华及海康摄像头截图功能开发

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/video/service/ImageService.java |   22 ++++++++--------------
 1 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/video/service/ImageService.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/video/service/ImageService.java
index 2c39c8f..16643d0 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/video/service/ImageService.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/video/service/ImageService.java
@@ -1,35 +1,29 @@
 package com.iailab.module.data.video.service;
 
-import com.iailab.framework.common.page.PageData;
+import com.iailab.framework.common.pojo.PageResult;
 import com.iailab.framework.common.service.BaseService;
+import com.iailab.module.data.video.controller.admin.camera.vo.ImagePageReqVO;
 import com.iailab.module.data.video.dto.ImageDTO;
-import com.iailab.module.data.video.entity.DataEntity;
 import com.iailab.module.data.video.entity.ImageEntity;
 
+import javax.validation.Valid;
 import java.util.Date;
 import java.util.List;
-import java.util.Map;
 
 /**
- * @author PanZhibao
+ * @author Houzhongjian
  * @Description
  * @createTime 2024年02月27日
  */
 public interface ImageService extends BaseService<ImageEntity> {
 
-    PageData<ImageDTO> page(Map<String, Object> params);
+    PageResult<ImageDTO> getPage(ImagePageReqVO imagePageReqVO);
+
+    List<ImageDTO> list(@Valid ImagePageReqVO cameraPageReqVO);
 
     ImageDTO get(String id);
 
-    List<DataEntity> getValueList(String cameraId, Date startTime, Date endTime);
-
-    void save(ImageDTO dto);
-
-    void update(ImageDTO dto);
-
-    void delete(String[] ids);
-
-    String getUrl(String cameraId, String imagePath);
+    void delete(String id);
 
     ImageDTO get(String cameraId, Date createDate);
 

--
Gitblit v1.9.3