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 { /** * 精确查询月报 * @param biz 业务区分 * @param depId 部门ID * @param year 年份 * @param month 月份 * @return */ RiskMonthReport findByMonth(Byte biz,Long depId,Integer year,Integer month); /** * 多条件查询月报 * @param params * @return */ List listByConditions(MonthReportSearchParamVO params); }