fuliqi
2024-09-05 cd24a045bd9ee29505ddc9760d25f5d4037f4f0c
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;
/**
 * 运维阈值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);
    /**
     * 查询运维阈值列表
@@ -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,25 @@
     * @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);
    public void videoCheck(List list);
    /**
     * 检查人脸数据是否要生成工单
     *
     * @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 errorTypeCheckUY(List list);
}