From 0b393384a97d3f9133cc34d325c9daa0c19f239a Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 29 八月 2024 15:45:44 +0800 Subject: [PATCH] 1、增加链接类型查询模板设置排序的下拉框数据接口。 2、保存Action参数数据接口。 3、修改Action参数数据接口。 4、删除Action参数数据接口。 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java | 85 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 82 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java index e071a29..4b2f1fa 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java @@ -3,6 +3,8 @@ 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; import com.vci.pagemodel.OsLinkTypeVO; @@ -51,8 +53,7 @@ */ BaseResult deleteTemplate(String name) throws PLException; /** - * - * @param dataMap 浼犺緭鐨勬暟鎹璞★細 + * @param qtInfoDTO 浼犺緭鐨勬暟鎹璞★細 * linkTypeName 閾炬帴绫诲瀷銆� * rdPositive 鏂瑰悜锛宼rue姝e悜锛宖alse鍙嶅悜 * 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,82 @@ * @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; + + /** + * 鏌ヨ鏉′欢涓嬬殑鏌ヨ鎸夐挳 + * @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; + } -- Gitblit v1.9.3