ludc
2024-08-28 de42c7075ba5a474ba74d8833e9830dfa1312464
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java
@@ -3,6 +3,7 @@
import com.vci.corba.common.PLException;
import com.vci.corba.omd.ltm.LinkType;
import com.vci.corba.omd.qtm.QTD;
import com.vci.corba.omd.qtm.QTInfo;
import com.vci.dto.QTInfoDTO;
import com.vci.pagemodel.OsBtmTypeAttributeVO;
import com.vci.pagemodel.OsLinkTypeAttributeVO;
@@ -52,7 +53,6 @@
     */
    BaseResult deleteTemplate(String name) throws PLException;
    /**
     *
     * @param qtInfoDTO 传输的数据对象:
     *                linkTypeName 链接类型、
     *                rdPositive 方向,true正向,false反向
@@ -106,4 +106,52 @@
     * @return 操作结果
     */
    BaseResult deleteLinkTemplate(List<String> templateNames) throws PLException;
    /**
     * 查询条件下的查询按钮
     * @param qtInfoDTO
     * @return
     * @throws PLException
     */
    BaseResult getCriteriaBtm(QTInfoDTO qtInfoDTO) throws PLException;
    /**
     * 业务类型查询模板保存
     * @param qtInfoDTO 保存传输对象
     * @return 保存结果
     */
    BaseResult btmSave(QTInfoDTO qtInfoDTO) throws PLException;
    /**
     * 更新数据库结构
     * @return 保存结果
     */
    BaseResult updateDBStructure() throws PLException;
    /**
     * 业务类型查询模板树查询,用于界面的导出功能
     * @return 查询结果
     */
    BaseResult getBtmQtTree() throws PLException;
    /**
     * 导出业务类型查询模板
     * names 查询模板名
     * @return
     */
    void expBtmQTTemplate(List<String> names, HttpServletResponse response) throws PLException,IOException ;
    /**
     * 查询条件下的选择查询模板对话框(查询全部模板和所对应的业务类型或链接类型名)
     * @return
     */
    BaseResult getAllQTs() throws PLException;
    /**
     * 导入业务类型查询模板
     * @param file 上传的文件
     * @return 导入结果
     */
    BaseResult impBtmTemplate(MultipartFile file) throws IOException, ClassNotFoundException;
}