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 | 47 ++++++++++------------------------------------- 1 files changed, 10 insertions(+), 37 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 efa5b47..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,29 +1,26 @@ package com.ycl.platform.service; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +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); /** * 鏌ヨ杩愮淮闃堝�煎垪琛� @@ -31,7 +28,7 @@ * @param ywThreshold 杩愮淮闃堝�� * @return 杩愮淮闃堝�奸泦鍚� */ - public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold); + public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold); /** * 鏂板杩愮淮闃堝�� @@ -47,7 +44,7 @@ * @param ywThreshold 杩愮淮闃堝�� * @return 缁撴灉 */ - public int updateYwThreshold(YwThreshold ywThreshold); + public Boolean updateYwThreshold(List<YwThreshold> ywThreshold); /** * 鎵归噺鍒犻櫎杩愮淮闃堝�� @@ -55,7 +52,7 @@ * @param ids 闇�瑕佸垹闄ょ殑杩愮淮闃堝�间富閿泦鍚� * @return 缁撴灉 */ - public int deleteYwThresholdByIds(Integer[] ids); + public int deleteYwThresholdByIds(Long[] ids); /** * 鍒犻櫎杩愮淮闃堝�间俊鎭� @@ -63,29 +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); + public int deleteYwThresholdById(Long id); } -- Gitblit v1.8.0