From a13255b4129ee8a7a7b7e1ecd8e02dd2c78f7c17 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期四, 16 一月 2025 16:19:20 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLinkTypeServiceI.java | 82 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 78 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLinkTypeServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLinkTypeServiceI.java index 4ed9866..b134fbd 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLinkTypeServiceI.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLinkTypeServiceI.java @@ -2,12 +2,17 @@ import com.vci.corba.common.PLException; import com.vci.corba.omd.ltm.LinkType; -import com.vci.starter.web.pagemodel.BaseQueryObject; -import com.vci.starter.web.pagemodel.DataGrid; import com.vci.pagemodel.OsBtmTypeAttributeVO; import com.vci.pagemodel.OsLinkTypeAttributeVO; import com.vci.pagemodel.OsLinkTypeVO; +import com.vci.starter.web.pagemodel.BaseQueryObject; +import com.vci.starter.web.pagemodel.BaseResult; +import com.vci.starter.web.pagemodel.DataGrid; +import org.springframework.web.multipart.MultipartFile; +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.text.ParseException; import java.util.Collection; import java.util.List; import java.util.Map; @@ -40,6 +45,13 @@ * @return */ List<String> getAllLtName() throws PLException; + + /** + * 鑾峰彇浣跨敤璇ヤ笟鍔$被鍨嬬殑閾炬帴绫诲瀷鍚� + * @param btmName 涓氬姟绫诲瀷鍚嶇О + * @return + */ + List<String> getUsedBtmLinkList(String btmName); /** * 鏌ヨ鎵�鏈夌殑閾炬帴绫诲瀷 @@ -79,14 +91,14 @@ * @param id 缂栧彿 * @return 閾炬帴绫诲瀷 */ - OsLinkTypeVO getLinkTypeById(String id); + OsLinkTypeVO getLinkTypeById(String id) throws PLException; /** * 鑾峰彇閾炬帴绫诲瀷鐨勫睘鎬� * @param linkTypeId 閾炬帴绫诲瀷鐨勭紪鍙� * @return 閾炬帴绫诲瀷鐨勫睘鎬� */ - List<OsLinkTypeAttributeVO> listAttributeByLinkId(String linkTypeId); + List<OsLinkTypeAttributeVO> listAttributeByLinkId(String linkTypeId) throws PLException; /** * 閾炬帴绫诲瀷鐨勫垪琛� @@ -108,4 +120,66 @@ * @return 鏈夐敊璇殑灞炴�� */ List<OsBtmTypeAttributeVO> checkAttributeTypeDifferent(String linkTypeOid); + /** + * 閾炬帴绫诲瀷鐨勫垪琛� + * + * @return 閾炬帴绫诲瀷鐨勬樉绀哄璞� + */ + BaseResult<List<LinkType>> gridLink() throws PLException; + /** + * 閾炬帴绫诲瀷淇濆瓨 + * linkType 閾炬帴绫诲瀷鐨勪繚瀛樺璞� + * addFlag 鏄惁涓烘柊澧� true鏂板锛宖alse淇敼 + * @return 淇濆瓨缁撴灉 + */ + BaseResult addAndEditLink(LinkType linkType, Boolean addFlag) throws PLException; + /** + * 閾炬帴绫诲瀷鍒犻櫎 + * linkType 閾炬帴绫诲瀷瀵硅薄 + * @return 鍒犻櫎缁撴灉 + */ + BaseResult deleteLink(LinkType linkType) throws PLException; + /** + * 涓�鑷存�ф鏌� + * @return 鍒犻櫎缁撴灉 + */ + BaseResult checkLinkType() throws PLException; + /** + * 涓�鑷存�ф鏌ヤ慨澶嶆暟鎹簱琛� + * repairData 闇�瑕佷慨澶嶇殑鏁版嵁 + * @return 淇缁撴灉 + */ + BaseResult repairTable(String repairData) throws PLException, IOException; + /** + * 鍒涘缓瑙嗗浘 + * @return 鍒涘缓缁撴灉 + */ + BaseResult createView() throws PLException; + /** + * 瀵煎嚭閾炬帴绫诲瀷 + * name 閾炬帴绫诲瀷鍚嶇О + * @return 鍒涘缓缁撴灉 + */ + void expData(String oid, HttpServletResponse response) throws PLException, IOException; + /** + * 瀵煎叆閾炬帴绫诲瀷 + * @param file 涓婁紶鐨勬枃浠� + * @return + */ + BaseResult impData(MultipartFile file) throws Exception; + /** + * 鑾峰彇閾炬帴绫诲瀷鍖呭惈鐨勫睘鎬� + * @param name 閾炬帴绫诲瀷鐨勭紪鍙� + * @return 灞炴�х殑淇℃伅 + */ + List<OsLinkTypeAttributeVO> getAllAttributeByLink(String name) throws PLException, ParseException; + + /** + * 鑾峰彇璁剧疆鎺掑簭瀛楁鐨勬帓搴忓瓧娈� + * @param linkType 閾炬帴绫诲瀷鐨勭紪鍙� + * @param btmType 涓氬姟绫诲瀷鐨勭紪鍙� + * @param direction 姝�/鍙嶅悜 + * @return 灞炴�х殑淇℃伅 + */ + List<String> getAllOrderbyAttributeByLink(String linkType, String btmType, String direction) throws PLException, ParseException; } -- Gitblit v1.9.3