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 cn.flightfeather.supervision.lightshare.service
 
import cn.flightfeather.supervision.lightshare.vo.dataprod.QueryOpt
import cn.flightfeather.supervision.lightshare.vo.dataprod.middle.*
 
/**
 * 中间数据产品服务接口
 * @date 2025/9/15
 * @author feiyu02
 */
interface DataProdMiddleService {
 
    /**
     * 巡查完成情况汇总
     */
    fun getInspectionSummary(queryOpt: QueryOpt): DPInspectionSummary
 
    /**
     * 问题分类汇总
     */
    fun getProblemTypeSummary(queryOpt: QueryOpt): List<DPProblemTypeCount>
 
    /**
     * 分区域单场景问题数量
     */
    fun getProblemCountByArea(queryOpt: QueryOpt): List<DPProblemCountByArea>
 
    /**
     * 分区域规范性情况
     */
    fun getEvaluationByArea(queryOpt: QueryOpt): List<DPEvaluationByArea>
 
     /**
      * 典型问题场景清单
      * @param rateTotal 总问题整改率阈值,默认0.8,小于此阈值,表明是典型问题场景
      */
    fun getTypicalProblems(queryOpt: QueryOpt, rateTotal:Double = 0.8): List<DPTypicalProblemScene>
}