From ec809f0f35973f5b86c8b5e7cccec8af0bc9803f Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 31 十月 2024 15:09:12 +0800 Subject: [PATCH] 车辆属性一致率阈值bug --- ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 43 insertions(+), 8 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 db7356a..f4605f7 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,24 +1,30 @@ package com.ycl.platform.service; - +import com.baomidou.mybatisplus.extension.service.IService; import com.ycl.platform.domain.entity.YwThreshold; +import com.ycl.platform.domain.result.HK.FaceDeviceInspectionResult; +import com.ycl.platform.domain.result.HK.VehicleDeviceInspectionResult; +import com.ycl.system.Result; +import org.springframework.web.multipart.MultipartFile; 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); /** * 鏌ヨ杩愮淮闃堝�煎垪琛� @@ -26,7 +32,7 @@ * @param ywThreshold 杩愮淮闃堝�� * @return 杩愮淮闃堝�奸泦鍚� */ - public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold); + public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold); /** * 鏂板杩愮淮闃堝�� @@ -42,7 +48,7 @@ * @param ywThreshold 杩愮淮闃堝�� * @return 缁撴灉 */ - public int updateYwThreshold(YwThreshold ywThreshold); + public Boolean updateYwThreshold(List<YwThreshold> ywThreshold); /** * 鎵归噺鍒犻櫎杩愮淮闃堝�� @@ -50,7 +56,7 @@ * @param ids 闇�瑕佸垹闄ょ殑杩愮淮闃堝�间富閿泦鍚� * @return 缁撴灉 */ - public int deleteYwThresholdByIds(Integer[] ids); + public int deleteYwThresholdByIds(Long[] ids); /** * 鍒犻櫎杩愮淮闃堝�间俊鎭� @@ -58,5 +64,34 @@ * @param id 杩愮淮闃堝�间富閿� * @return 缁撴灉 */ - public int deleteYwThresholdById(Integer id); + public int deleteYwThresholdById(Long id); + + /** + * 鍒ゆ柇杞﹁締闃堝�兼潯浠� + */ + public void carCheck(List<VehicleDeviceInspectionResult> list); + + /** + * 鍒ゆ柇浜鸿劯闃堝�兼潯浠� + */ + public void faceCheck(List<FaceDeviceInspectionResult> list); + + /** + * 鍒ゆ柇瑙嗛闃堝�兼潯浠� + */ + public void videoCheck(List list); + + /** + * 闃堝�兼棤娉曞垽鏂殑锛屾牎楠屾晠闅滅被鍨嬬敓鎴愬伐鍗曘�備紭浜� + */ + public void errorTypeCheckUY(List list); + + /** + * 瀵煎叆鏁版嵁 + * + * @param file 鏂囦欢 + * @return {@link Result } + * @author + */ + Result importData(MultipartFile file); } -- Gitblit v1.8.0