fuliqi
2024-07-31 f284c5ef6a1aa6e9ba5d4e94e4b2abe83b6ea18c
ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
@@ -1,24 +1,28 @@
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 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);
    /**
     * 查询运维阈值列表
@@ -26,7 +30,7 @@
     * @param ywThreshold 运维阈值
     * @return 运维阈值集合
     */
    public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold);
    public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold);
    /**
     * 新增运维阈值
@@ -42,7 +46,7 @@
     * @param ywThreshold 运维阈值
     * @return 结果
     */
    public int updateYwThreshold(YwThreshold ywThreshold);
    public Boolean updateYwThreshold(List<YwThreshold> ywThreshold);
    /**
     * 批量删除运维阈值
@@ -50,7 +54,7 @@
     * @param ids 需要删除的运维阈值主键集合
     * @return 结果
     */
    public int deleteYwThresholdByIds(Integer[] ids);
    public int deleteYwThresholdByIds(Long[] ids);
    /**
     * 删除运维阈值信息
@@ -58,5 +62,20 @@
     * @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);
}