From b6d477ad41e2a8ff9393de2beba2e735c78cf781 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 22 七月 2024 18:06:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java |   95 +++++------------------------------------------
 1 files changed, 10 insertions(+), 85 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 019c780..58b5ad0 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,26 @@
 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 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 +28,7 @@
      * @param ywThreshold 杩愮淮闃堝��
      * @return 杩愮淮闃堝�奸泦鍚�
      */
-    public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold);
+    public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold);
 
     /**
      * 鏂板杩愮淮闃堝��
@@ -50,7 +44,7 @@
      * @param ywThreshold 杩愮淮闃堝��
      * @return 缁撴灉
      */
-    public int updateYwThreshold(YwThreshold ywThreshold);
+    public Boolean updateYwThreshold(List<YwThreshold> ywThreshold);
 
     /**
      * 鎵归噺鍒犻櫎杩愮淮闃堝��
@@ -58,7 +52,7 @@
      * @param ids 闇�瑕佸垹闄ょ殑杩愮淮闃堝�间富閿泦鍚�
      * @return 缁撴灉
      */
-    public int deleteYwThresholdByIds(Integer[] ids);
+    public int deleteYwThresholdByIds(Long[] ids);
 
     /**
      * 鍒犻櫎杩愮淮闃堝�间俊鎭�
@@ -66,74 +60,5 @@
      * @param id 杩愮淮闃堝�间富閿�
      * @return 缁撴灉
      */
-    public int deleteYwThresholdById(Integer id);
-
-    /**
-     * 淇敼浜鸿劯闃堝��
-     *
-     * @param form
-     * @return
-     */
-    int editFace(FaceThresholdForm form);
-
-    /**
-     * 淇敼杞﹁締闃堝��
-     *
-     * @param form
-     * @return
-     */
-    int editCar(CarThresholdForm form);
-
-    /**
-     * 淇敼瑙嗛闃堝��
-     *
-     * @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);
-
-    /**
-     * 鑾峰彇浜鸿劯閰嶇疆
-     * @param id
-     * @return
-     */
-    FaceThresholdForm getFace(Integer id);
-
-    /**
-     * 鑾峰彇杞﹁締閰嶇疆
-     * @param id
-     * @return
-     */
-    CarThresholdForm getCar(Integer id);
-
-    /**
-     * 鑾峰彇瑙嗛閰嶇疆
-     * @param id
-     * @return
-     */
-    VideoThresholdForm getVideo(Integer id);
+    public int deleteYwThresholdById(Long id);
 }

--
Gitblit v1.8.0