双重预防项目-国泰新华二开定制版
huangzhen
2022-10-09 2ccbb8881721a16ec5cf68b12346ecdc0b6941cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.ruoyi.doublePrevention.repository;
 
import com.ruoyi.doublePrevention.entity.PreventRiskList;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface PreventRiskListRepository{
 
    /**
     * @description 根据id获取风险清单
     */
    PreventRiskList getPreventRiskListById(Long id);
 
    /**
     * @description 获取所有的风险分析单元的编码和姓名
     */
    List<PreventRiskList> listRiskUnitCodeAndName();
 
}