package com.kcim.dao.mapper;

import com.kcim.dao.model.ReportForm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 报表项目
 * 
 * @author huangrui
 * @date 2021-08-03 13:53:52
 */
@Mapper
public interface ReportFormMapper extends BaseMapper<ReportForm> {

    ReportForm getByReportId(@Param("hospId") Long hospId, @Param("reportType") String reportType, @Param("reportId") Long reportId);

    List<ReportForm> getByReportType(@Param("hospId") Long hospId, @Param("reportType") String reportType);
}
