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 { /** * 精确获取指定部门指定年月的详情报表 * @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 listByConditions(Long eid, Long depId, LocalDate countBeginDate,LocalDate countEndDate); }