| | |
| | | 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; |
| | | |
| | | /** |
| | | * 运维阈值Service接口 |
| | | * |
| | | * @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); |
| | | |
| | | /** |
| | | * 查询运维阈值列表 |
| | |
| | | * @param ywThreshold 运维阈值 |
| | | * @return 运维阈值集合 |
| | | */ |
| | | public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold); |
| | | public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold); |
| | | |
| | | /** |
| | | * 新增运维阈值 |
| | |
| | | * @param ywThreshold 运维阈值 |
| | | * @return 结果 |
| | | */ |
| | | public int updateYwThreshold(YwThreshold ywThreshold); |
| | | public Boolean updateYwThreshold(List<YwThreshold> ywThreshold); |
| | | |
| | | /** |
| | | * 批量删除运维阈值 |
| | |
| | | * @param ids 需要删除的运维阈值主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteYwThresholdByIds(Integer[] ids); |
| | | public int deleteYwThresholdByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除运维阈值信息 |
| | |
| | | * @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); |
| | | } |