郑永安
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package com.gkhy.safePlatform.riskCtrl.service;
 
import com.gkhy.safePlatform.commons.vo.ResultVO;
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
import com.gkhy.safePlatform.riskCtrl.model.dto.resp.RiskMonthReportRespDTO;
 
import java.util.List;
 
public interface RiskReportService {
 
    /**
     * 生成企业月度风险报表
     * @param depId
     * @param year
     * @param month
     * @return
     */
    ResultVO generateDepartmentMonthRiskReport(Long depId, Integer year, Integer month);
 
    ResultVO generateDepartmentMonthRiskReport(Byte biz, Long depId, Integer year, Integer month);
 
    /**
     * 获取指定部门指定月份指定业务的月报
     * @param depId
     * @param biz
     * @param year
     * @param month
     * @return
     */
    SearchResultVO<RiskMonthReportRespDTO> getReportByMonth(Long depId, Byte biz, Integer year, Integer month);
 
    /**
     * 获取指定部门的指定年度报表
     * @param depId
     * @param biz
     * @param year
     * @return
     */
    SearchResultVO<List<RiskMonthReportRespDTO>> getDepartmentReportByYear(Long depId, Byte biz, Integer year);
 
    /**
     * 获取指定部门连续多个月的报表
     * @param depId
     * @param biz
     * @param beginYear
     * @param beginMonth
     * @param endYear
     * @param endMonth
     * @return
     */
    SearchResultVO<List<RiskMonthReportRespDTO>> getDepartmentReportByMultipleMonth(Long depId, Byte biz,
                                                                                    Integer beginYear, Integer beginMonth,
                                                                                    Integer endYear,Integer endMonth);
 
 
    /**
     * 获取指定部门的子部门连续多个月的报表
     * @param depId
     * @param biz
     * @param beginYear
     * @param beginMonth
     * @param endYear
     * @param endMonth
     * @return
     */
    SearchResultVO<List<RiskMonthReportRespDTO>> getSubDepartmentReportByMultipleMonth(Long depId, Byte biz,
                                                                                       Integer beginYear, Integer beginMonth,
                                                                                       Integer endYear,Integer endMonth);
 
    /**
     * 获取公司指定年份的报表
     * @param year
     * @return
     */
    SearchResultVO<List<RiskMonthReportRespDTO>> getCompanyReportByYear(Byte biz,Integer year);
 
    /**
     * 获取公司在指定年月的报表
     * @param year
     * @return
     */
    SearchResultVO<RiskMonthReportRespDTO> getCompanyReportByMonth(Byte biz,Integer year,Integer month);
}