From de42c7075ba5a474ba74d8833e9830dfa1312464 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 28 八月 2024 15:20:17 +0800 Subject: [PATCH] 业务类型查询模板接口上传 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsQuereyTemplateServiceI.java | 77 +++++++++++++++++++++++++++++++++++++- 1 files changed, 74 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 4cd367d..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,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,8 +53,7 @@ */ BaseResult deleteTemplate(String name) throws PLException; /** - * - * @param dataMap 浼犺緭鐨勬暟鎹璞★細 + * @param qtInfoDTO 浼犺緭鐨勬暟鎹璞★細 * linkTypeName 閾炬帴绫诲瀷銆� * rdPositive 鏂瑰悜锛宼rue姝e悜锛宖alse鍙嶅悜 * btmName 涓氬姟绫诲瀷鍚嶇О @@ -63,7 +63,7 @@ * level 瀛愯妭鐐瑰眰鏁� * @return 鏌ヨ缁撴灉 */ - BaseResult getCriteria(HashMap<String,Object> dataMap) throws PLException; + BaseResult getCriteria(QTInfoDTO qtInfoDTO) throws PLException; /** * 鏌ヨ妯℃澘鍒楄〃 * @param btName 绫诲瀷鍚嶇О @@ -83,4 +83,75 @@ * @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