ludc
2024-08-16 60c39bdb211bce90f87a058b9dba0b63d67dea8e
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.dto.QTInfoDTO;
import com.vci.pagemodel.OsBtmTypeAttributeVO;
import com.vci.pagemodel.OsLinkTypeAttributeVO;
import com.vci.pagemodel.OsLinkTypeVO;
@@ -52,7 +53,7 @@
    BaseResult deleteTemplate(String name) throws PLException;
    /**
     *
     * @param dataMap 传输的数据对象:
     * @param qtInfoDTO 传输的数据对象:
     *                linkTypeName 链接类型、
     *                rdPositive 方向,true正向,false反向
     *                btmName 业务类型名称
@@ -62,7 +63,7 @@
     *                level 子节点层数
     * @return 查询结果
     */
    BaseResult getCriteria(HashMap<String,Object> dataMap) throws PLException;
    BaseResult getCriteria(QTInfoDTO qtInfoDTO) throws PLException;
    /**
     * 查询模板列表
     * @param btName 类型名称
@@ -75,4 +76,34 @@
     * @return 查询结果
     */
    BaseResult isExistsQT(String name) throws PLException;
    /**
     * 链接类型查询模板保存
     * @param qtInfoDTO 保存传输对象
     * @return 保存结果
     */
    BaseResult linkSave(QTInfoDTO qtInfoDTO) throws PLException;
    /**
     * 链接类型查询模板树查询,用于界面的导出功能
     * @return 查询结果
     */
    BaseResult getLinkTree()  throws PLException ;
    /**
     * 导出链接类型查询模板
     * names 查询模板名
     * @return
     */
    void expLinkTemplate(List<String> names, HttpServletResponse response) throws PLException, IOException ;
    /**
     * 导入链接类型查询模板
     * @param file 上传的文件
     * @return 导入结果
     */
    BaseResult impLinkTemplate(MultipartFile file) throws IOException, ClassNotFoundException;
    /**
     * 查询方案删除
     * @param templateNames 查询方案名
     * @return 操作结果
     */
    BaseResult deleteLinkTemplate(List<String> templateNames) throws PLException;
}