郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.gkhy.safePlatform.safeCheck.service.baseService;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.safePlatform.safeCheck.entity.SafeCheckQuota;
 
public interface SafeCheckQuotaService extends IService<SafeCheckQuota> {
 
    /**
     * @description 新增一个巡检指标
     */
    int saveQuota(SafeCheckQuota safeCheckQuota);
 
    /**
     * @description 根据指标名查询是否存在同名指标
     */
    SafeCheckQuota getQuotaByName(String quotaName,int deleteStatus);
 
    /**
     * @description 根据巡检指标id获取巡检指标
     */
    SafeCheckQuota getQuotaById(Long id , int deleteStatus);
 
    /**
     * @description 分页获取当前页中的巡检指标信息
     */
    Page listQuotaByPage(Page pageInfo,String quotaName);
 
    /**
     * @description 根据巡检指标id删除巡检指标
     */
    void deleteQuotaById(SafeCheckQuota quota,int deleteStatus);
 
    /**
     * @description 根据巡检指标id修改巡检指标
     */
    void updateQuotaById(SafeCheckQuota safeCheckQuota,int deleteStatus);
}