郑永安
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
package com.gkhy.safePlatform.riskCtrl.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.safePlatform.riskCtrl.entity.PreventMonthReportDetail;
import com.gkhy.safePlatform.riskCtrl.entity.RiskMonthReport;
import com.gkhy.safePlatform.riskCtrl.model.vo.db.MonthReportSearchParamVO;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface RiskMonthReportRepository extends BaseMapper<RiskMonthReport> {
 
    /**
     * 精确查询月报
     * @param biz 业务区分
     * @param depId 部门ID
     * @param year 年份
     * @param month 月份
     * @return
     */
    RiskMonthReport findByMonth(Byte biz,Long depId,Integer year,Integer month);
 
    /**
     * 多条件查询月报
     * @param params
     * @return
     */
    List<RiskMonthReport> listByConditions(MonthReportSearchParamVO params);
}