| | |
| | | package com.ots.project.exam.service; |
| | | |
| | | import com.ots.project.exam.domain.TReportTemplate; |
| | | import com.ots.project.system.user.domain.User; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 报告模板配置Service接口 |
| | | * |
| | | * @author ots |
| | | * @date 2020-03-24 |
| | | */ |
| | | public interface ITReportTemplateService { |
| | | |
| | | /** |
| | | * 查询报告模板配置 |
| | | * |
| | | * @param id 报告模板配置ID |
| | | * @return 报告模板配置 |
| | | */ |
| | | TReportTemplate selectTReportTemplateById(Long id); |
| | | |
| | | |
| | | /** |
| | | * 查询报告模板配置列表 |
| | | * |
| | | * @param tReportTemplate 报告模板配置 |
| | | * @return 报告模板配置集合 |
| | | */ |
| | | List<TReportTemplate> selectTReportTemplateList(TReportTemplate tReportTemplate); |
| | | |
| | | |
| | | /** |
| | | * 查询用户支持的企业模板 |
| | | * @return |
| | | */ |
| | | List<TReportTemplate> getReportTemplates(User sysUser); |
| | | |
| | | |
| | | /** |
| | | * 查询用户支持的企业模板,产品包编码 |
| | | * @return |
| | | */ |
| | | List<TReportTemplate> getReportTemplates(User sysUser,Long prodid); |
| | | |
| | | |
| | | List<TReportTemplate> selectTReportTemplates(String ids); |
| | | |
| | | |
| | | /** |
| | | * 新增报告模板配置 |
| | | * |
| | | * @param tReportTemplate 报告模板配置 |
| | | * @return 结果 |
| | | */ |
| | | int insertTReportTemplate(TReportTemplate tReportTemplate); |
| | | |
| | | |
| | | /** |
| | | * 修改报告模板配置 |
| | | * |
| | | * @param tReportTemplate 报告模板配置 |
| | | * @return 结果 |
| | | */ |
| | | int updateTReportTemplate(TReportTemplate tReportTemplate); |
| | | |
| | | |
| | | /** |
| | | * 批量删除报告模板配置 |
| | | * |
| | | * @param ids 需要删除的数据ID |
| | | * @return 结果 |
| | | */ |
| | | int deleteTReportTemplateByIds(String ids); |
| | | |
| | | |
| | | /** |
| | | * 删除报告模板配置信息 |
| | | * |
| | | * @param id 报告模板配置ID |
| | | * @return 结果 |
| | | */ |
| | | int deleteTReportTemplateById(Long id); |
| | | |
| | | |
| | | /** |
| | | * 得到模版地址,但是前面要加EssConfig.uploadPath |
| | | * @param tReportTemplate |
| | | * @return |
| | | */ |
| | | String selectTReportTemplateFilePath(TReportTemplate tReportTemplate); |
| | | } |