xiangpei
2024-07-22 b6d477ad41e2a8ff9393de2beba2e735c78cf781
ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
@@ -1,24 +1,26 @@
package com.ycl.platform.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.platform.domain.entity.YwThreshold;
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 +28,7 @@
     * @param ywThreshold 运维阈值
     * @return 运维阈值集合
     */
    public List<YwThreshold> selectYwThresholdList(YwThreshold ywThreshold);
    public Map<String, List<YwThreshold>> selectYwThresholdList(YwThreshold ywThreshold);
    /**
     * 新增运维阈值
@@ -42,7 +44,7 @@
     * @param ywThreshold 运维阈值
     * @return 结果
     */
    public int updateYwThreshold(YwThreshold ywThreshold);
    public Boolean updateYwThreshold(List<YwThreshold> ywThreshold);
    /**
     * 批量删除运维阈值
@@ -50,7 +52,7 @@
     * @param ids 需要删除的运维阈值主键集合
     * @return 结果
     */
    public int deleteYwThresholdByIds(Integer[] ids);
    public int deleteYwThresholdByIds(Long[] ids);
    /**
     * 删除运维阈值信息
@@ -58,5 +60,5 @@
     * @param id 运维阈值主键
     * @return 结果
     */
    public int deleteYwThresholdById(Integer id);
    public int deleteYwThresholdById(Long id);
}