郑永安
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
package com.gkhy.safePlatform.riskCtrl.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.safePlatform.riskCtrl.entity.SpiReportDetail;
import org.springframework.stereotype.Repository;
 
import java.time.LocalDate;
import java.util.List;
 
@Repository
public interface SpiReportDetailRepository extends BaseMapper<SpiReportDetail> {
 
    /**
     * 精确获取指定部门指定年月的详情报表
     * @param eid
     * @param depId
     * @param year
     * @param month
     * @return
     */
    SpiReportDetail findOneByMonth(Long eid,Long depId,Integer year,Integer month);
 
    /**
     * 查找某部门在某个年月区间的详情报表列表
     * @param eid
     * @param depId
     * @return
     */
    List<SpiReportDetail> listByConditions(Long eid, Long depId, LocalDate countBeginDate,LocalDate countEndDate);
 
}