From f284c5ef6a1aa6e9ba5d4e94e4b2abe83b6ea18c Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 31 七月 2024 14:54:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java |   73 +++++++++---------------------------
 1 files changed, 18 insertions(+), 55 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java b/ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
index e1197ff..dcb6491 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
@@ -1,32 +1,28 @@
 package com.ycl.platform.service;
 
-
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.ycl.platform.domain.dto.CarDTO;
-import com.ycl.platform.domain.dto.FaceDTO;
-import com.ycl.platform.domain.dto.VideoDTO;
+import com.baomidou.mybatisplus.extension.service.IService;
 import com.ycl.platform.domain.entity.YwThreshold;
-import com.ycl.platform.domain.form.CarThresholdForm;
-import com.ycl.platform.domain.form.FaceThresholdForm;
-import com.ycl.platform.domain.form.VideoThresholdForm;
-import com.ycl.platform.mapper.YwThresholdMapper;
+import com.ycl.platform.domain.result.HK.FaceDeviceInspectionResult;
+import com.ycl.platform.domain.result.HK.VehicleDeviceInspectionResult;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 杩愮淮闃堝�糞ervice鎺ュ彛
  *
  * @author gonghl
- * @date 2024-03-25
+ * @date 2024-07-19
  */
-public interface IYwThresholdService {
+public interface IYwThresholdService extends IService<YwThreshold>
+{
     /**
      * 鏌ヨ杩愮淮闃堝��
      *
      * @param id 杩愮淮闃堝�间富閿�
      * @return 杩愮淮闃堝��
      */
-    public YwThreshold selectYwThresholdById(Integer id);
+    public YwThreshold selectYwThresholdById(Long id);
 
     /**
      * 鏌ヨ杩愮淮闃堝�煎垪琛�
@@ -34,7 +30,7 @@
      * @param ywThreshold 杩愮淮闃堝��
      * @return 杩愮淮闃堝�奸泦鍚�
      */
-    public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold);
+    public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold);
 
     /**
      * 鏂板杩愮淮闃堝��
@@ -50,7 +46,7 @@
      * @param ywThreshold 杩愮淮闃堝��
      * @return 缁撴灉
      */
-    public int updateYwThreshold(YwThreshold ywThreshold);
+    public Boolean updateYwThreshold(List<YwThreshold> ywThreshold);
 
     /**
      * 鎵归噺鍒犻櫎杩愮淮闃堝��
@@ -58,7 +54,7 @@
      * @param ids 闇�瑕佸垹闄ょ殑杩愮淮闃堝�间富閿泦鍚�
      * @return 缁撴灉
      */
-    public int deleteYwThresholdByIds(Integer[] ids);
+    public int deleteYwThresholdByIds(Long[] ids);
 
     /**
      * 鍒犻櫎杩愮淮闃堝�间俊鎭�
@@ -66,53 +62,20 @@
      * @param id 杩愮淮闃堝�间富閿�
      * @return 缁撴灉
      */
-    public int deleteYwThresholdById(Integer id);
+    public int deleteYwThresholdById(Long id);
 
     /**
-     * 淇敼浜鸿劯闃堝��
-     *
-     * @param form
-     * @return
+     * 鍒ゆ柇杞﹁締闃堝�兼潯浠�
      */
-    int editFace(FaceThresholdForm form);
+    public void carCheck(List<VehicleDeviceInspectionResult> list);
 
     /**
-     * 淇敼杞﹁締闃堝��
-     *
-     * @param form
-     * @return
+     * 鍒ゆ柇浜鸿劯闃堝�兼潯浠�
      */
-    int editCar(CarThresholdForm form);
+    public void faceCheck(List<FaceDeviceInspectionResult> list);
 
     /**
-     * 淇敼瑙嗛闃堝��
-     *
-     * @param form
-     * @return
+     * 鍒ゆ柇瑙嗛闃堝�兼潯浠�
      */
-    int editVideo(VideoThresholdForm form);
-
-    /**
-     * 妫�鏌ヤ汉鑴告暟鎹槸鍚﹁鐢熸垚宸ュ崟
-     *
-     * @param faceList 浜鸿劯鏁版嵁
-     * @return 鏄惁鐢熸垚宸ュ崟
-     */
-    Boolean checkFace(List<FaceDTO> faceList);
-
-    /**
-     * 妫�鏌ヨ溅杈嗘暟鎹槸鍚﹁鐢熸垚宸ュ崟
-     *
-     * @param carList 杞﹁締鏁版嵁
-     * @return 鏄惁鐢熸垚宸ュ崟
-     */
-    Boolean checkCar(List<CarDTO> carList);
-
-    /**
-     * 妫�鏌ヨ棰戞暟鎹槸鍚﹁鐢熸垚宸ュ崟
-     *
-     * @param videoList
-     * @return 鏄惁鐢熸垚宸ュ崟
-     */
-    Boolean checkVideo(List<VideoDTO> videoList);
+    public void videoCheck(List list);
 }

--
Gitblit v1.8.0