From afd5c86b170c2fc63896a2475097cf1654a3c889 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 27 十一月 2024 23:02:07 +0800
Subject: [PATCH] 业务类型树查询接口新增UIDataTree用来专门返回key:list形式的参数,修改多处Map<String,String>为Map<String,Object>。

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/WebLoServiceI.java |   88 ++++++++++++++++++++------------------------
 1 files changed, 40 insertions(+), 48 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/WebLoServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/WebLoServiceI.java
index 77fa85b..bd00cac 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/WebLoServiceI.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/WebLoServiceI.java
@@ -1,9 +1,9 @@
 package com.vci.web.service;
 
-import com.vci.client.bof.ClientBusinessObject;
-import com.vci.client.bof.ClientLinkObject;
-import com.vci.client.bof.ClientLinkObjectOperation;
+import com.vci.corba.omd.data.AttributeValue;
+import com.vci.corba.omd.data.BusinessObject;
 import com.vci.corba.omd.data.LinkObject;
+import com.vci.corba.query.data.BOAndLO;
 import com.vci.starter.web.exception.VciBaseException;
 import com.vci.starter.web.pagemodel.DataGrid;
 import com.vci.starter.web.pagemodel.PageHelper;
@@ -15,14 +15,6 @@
 
 public interface WebLoServiceI {
 
-
-	/**
-	 * 鑾峰彇骞冲彴鐨勯摼鎺ョ被鍨嬬殑鎿嶄綔绫�
-	 * @return
-	 * @throws VciBaseException
-	 */
-	 ClientLinkObjectOperation getLoOption() throws VciBaseException;
-
 	/**
 	 * 鏍规嵁鏌ヨ鏉′欢鏉ユ煡璇㈤摼鎺ョ被鍨�
 	 * @param linkType 閾炬帴绫诲瀷
@@ -30,7 +22,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientLinkObject>  queryCLO(String linkType, Map<String, String> conditionMap) throws VciBaseException;
+	 List<LinkObject>  queryCLO(String linkType, Map<String, String> conditionMap) throws VciBaseException;
 
 	/**
 	 * 鏍规嵁鏌ヨ鏉′欢鏉ユ煡璇㈤摼鎺ョ被鍨�
@@ -40,7 +32,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientBusinessObject> queryLinkCbo(String linkType, String toBtmname, Map<String, String> conditionMap) throws VciBaseException;
+	 List<BusinessObject> queryLinkCbo(String linkType, String toBtmname, Map<String, String> conditionMap) throws VciBaseException;
 
 	/**
 	 * 鏌ヨ閾炬帴绫诲瀷
@@ -51,7 +43,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientLinkObject> queryCLO(String linkType, String toBtmName, int level, Map<String, String> conditionMap) throws VciBaseException;
+	 List<LinkObject> queryCLO(String linkType, String toBtmName, int level, Map<String, String> conditionMap) throws VciBaseException;
 
 	/**
 	 * 鏌ヨto绔殑涓氬姟绫诲瀷
@@ -62,7 +54,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientBusinessObject> queryLinkCbo(String linkType, String toBtmname, int level, Map<String, String> conditionMap) throws VciBaseException;
+	 List<BusinessObject> queryLinkCbo(String linkType, String toBtmname, int level, Map<String, String> conditionMap) throws VciBaseException;
 
 	/**
 	 * 鏌ヨ閾炬帴绫诲瀷
@@ -74,7 +66,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientLinkObject> queryCLO(String linkType, String toBtmName,
+	 List<LinkObject> queryCLO(String linkType, String toBtmName,
                                      int level, boolean isDirection, Map<String, String> conditionMap)
 			throws VciBaseException;
 
@@ -89,7 +81,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientLinkObject> queryCLO(String linkType, String toBtmName,
+	 List<LinkObject> queryCLO(String linkType, String toBtmName,
                                      int level, boolean isDirection, Map<String, String> conditionMap, PageHelper ph)
 			throws VciBaseException;
 
@@ -103,7 +95,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 List<ClientBusinessObject> queryLinkCbo(String linkType, String toBtmname,
+	 List<BusinessObject> queryLinkCbo(String linkType, String toBtmname,
                                              int level, boolean isDirection, Map<String, String> conditionMap)
 			throws VciBaseException;
 
@@ -114,7 +106,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 Map<String,com.vci.client.bof.ClientBusinessObject> queryLinkedCbo(LinkObject[] lo, boolean isDirection) throws VciBaseException;
+	 Map<String,BusinessObject> queryLinkedCbo(LinkObject[] lo, boolean isDirection) throws VciBaseException;
 
 	/**
 	 *鏌ヨ閾炬帴绫诲瀷鏌愮鐨勪笟鍔$被鍨�
@@ -123,16 +115,16 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 Map<String,com.vci.client.bof.ClientBusinessObject> queryLinkedCbo(List los, boolean isDirection) throws VciBaseException;
+	 Map<String,BusinessObject> queryLinkedCbo(List los, boolean isDirection) throws VciBaseException;
 
-	/**
-	 *鏌ヨ閾炬帴绫诲瀷鏌愮鐨勪笟鍔$被鍨�
-	 * @param clo 閾炬帴绫诲瀷瀵硅薄
-	 * @param isDirection 鏄惁鍙嶅悜
-	 * @return
-	 * @throws VciBaseException
-	 */
-	 Map<String,com.vci.client.bof.ClientBusinessObject> queryLinkedCbo(ClientLinkObject[] clo, boolean isDirection) throws VciBaseException;
+//	/**
+//	 *鏌ヨ閾炬帴绫诲瀷鏌愮鐨勪笟鍔$被鍨�
+//	 * @param clo 閾炬帴绫诲瀷瀵硅薄
+//	 * @param isDirection 鏄惁鍙嶅悜
+//	 * @return
+//	 * @throws VciBaseException
+//	 */
+//	 Map<String,BusinessObject> queryLinkedCbo(LinkObject[] clo, boolean isDirection) throws VciBaseException;
 
 	/**
 	 * 鏌ヨ閾炬帴绫诲瀷鏌愮鐨勪笟鍔$被鍨�
@@ -142,7 +134,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 Map<String, com.vci.client.bof.ClientBusinessObject> queryLinkedCbo(ClientLinkObject[] clol,
+	 Map<String, BusinessObject> queryLinkedCbo(LinkObject[] clol,
                                                       boolean isDirection, List<String> queryColumn) throws VciBaseException;
 
 	/**
@@ -153,40 +145,40 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	 Map<String, ClientBusinessObject> queryLinkedCbo(List los,
+	 Map<String, BusinessObject> queryLinkedCbo(List los,
                                                       boolean isDirection, List<String> queryColumn) throws VciBaseException;
 	
 	 /**
-     * ClientLinkObject 杞负HashMap
+     * LinkObject 杞负HashMap
      * @param clos clos
      * @return map
      * @throws VciBaseException
      */
-     List<Map> clos2Map(List<ClientLinkObject> clos) throws VciBaseException;
+     List<Map> clos2Map(List<LinkObject> clos) throws VciBaseException;
     
     /**
-     * ClientLinkObject 杞负HashMap
+     * LinkObject 杞负HashMap
      * @param clo
      * @return
      * @throws VciBaseException
      */
-     Map clo2Map(ClientLinkObject clo) throws VciBaseException;
+     Map clo2Map(LinkObject clo) throws VciBaseException;
     
     /**
-     * map杞负ClientLinkObject
+     * map杞负LinkObject
      * @param map 
      * @return
      * @throws VciBaseException
      */
-     List<ClientLinkObject> map2Clos(List<Map> map) throws VciBaseException;
+     List<LinkObject> map2Clos(List<Map> map) throws VciBaseException;
     
     /**
-     * map杞负ClientLinkObject
+     * map杞负LinkObject
      * @param map
      * @return
      * @throws VciBaseException
      */
-     ClientLinkObject map2Clo(Map map) throws VciBaseException;
+     LinkObject map2Clo(Map map) throws VciBaseException;
 
 	/**
 	 * 淇濆瓨閾炬帴绫诲瀷瀵硅薄
@@ -194,7 +186,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	List<ClientLinkObject> saveClientLinkObjects(List<ClientLinkObject> clos) throws VciBaseException;
+	List<LinkObject> saveLinkObjects(List<LinkObject> clos) throws VciBaseException;
 
 	/**
 	 * 鍒涘缓杩炴帴绫诲瀷
@@ -202,7 +194,7 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	ClientLinkObject createClientLinkObject(String loName) throws VciBaseException;
+	LinkObject createLinkObject(String loName) throws VciBaseException;
 
 	/**
 	 * 鎷疯礉閾炬帴绫诲瀷
@@ -210,35 +202,35 @@
 	 * @return
 	 * @throws VciBaseException
 	 */
-	ClientLinkObject cloneClientLinkObject(ClientLinkObject clo) throws VciBaseException;
+	LinkObject cloneLinkObject(LinkObject clo) throws VciBaseException;
 
 	/**
 	 * 鍒犻櫎閾炬帴绫诲瀷
 	 * @param clos 閾炬帴绫诲瀷鐨勫唴瀹�
 	 * @throws VciBaseException
 	 */
-	void deleteClientLinkObjects(List<ClientLinkObject> clos) throws VciBaseException;
+	void deleteLinkObjects(List<LinkObject> clos) throws VciBaseException;
 
 	/**
 	 * 鏇存柊閾炬帴绫诲瀷
 	 * @param clos 閾炬帴绫诲瀷鐨勫璞�
 	 * @throws VciBaseException 鎵ц鍑洪敊浼氭姏鍑哄紓甯�
 	 */
-	void updateClientLinkObject(List<ClientLinkObject> clos) throws VciBaseException;
+	void updateLinkObject(List<LinkObject> clos) throws VciBaseException;
 
 	/**
 	 * 鏌ヨ閾炬帴绫诲瀷鍜屼笟鍔$被鍨�
 	 * @param linkTypeDataQuery 鏌ヨ瀵硅薄
 	 * @return 閾炬帴绫诲瀷鍜屽叧鑱旂殑to绔�
 	 */
-	List<com.vci.corba.query.data.BOAndLO> queryCLOAndBOBySchema(UILinkTypeDataQuery linkTypeDataQuery) ;
+	List<BOAndLO> queryCLOAndBOBySchema(UILinkTypeDataQuery linkTypeDataQuery) ;
 
 	/**
 	 * 浣跨敤閾炬帴绫诲瀷鐨勫悕绉版煡璇� 閾炬帴绫诲瀷鐨則o绔殑涓氬姟绫诲瀷
 	 * @param linkTypeDataQuery 鏌ヨ鐨勫璞�
 	 * @return 閾炬帴瀵硅薄鍜宼o绔笟鍔″璞�
 	 */
-	List<com.vci.corba.query.data.BOAndLO> queryCLOAndBoByLinkType(UILinkTypeDataQuery linkTypeDataQuery);
+	List<BOAndLO> queryCLOAndBoByLinkType(UILinkTypeDataQuery linkTypeDataQuery);
 
 	/**
 	 * 鏌ヨ鍒楄〃
@@ -272,8 +264,8 @@
 	 * @param attributeName 灞炴�у悕绉�
 	 * @param attributeValue 灞炴�х殑鍊�
 	 */
-	public default void setAttribute(com.vci.client.bof.ClientLinkObject clo,String attributeName,String attributeValue){
-		com.vci.corba.omd.data.AttributeValue[] attrValues =clo.getLinkObject().newAttrValList;
+	public default void setAttribute(LinkObject clo,String attributeName,String attributeValue){
+		com.vci.corba.omd.data.AttributeValue[] attrValues =clo.newAttrValList;
 		ArrayList<com.vci.corba.omd.data.AttributeValue> attrValList = new ArrayList();
 		com.vci.corba.omd.data.AttributeValue attrVal;
 		int i;
@@ -306,6 +298,6 @@
 			attrValList.add(attrVal);
 		}
 
-		clo.getLinkObject().newAttrValList = (com.vci.corba.omd.data.AttributeValue[])attrValList.toArray(new com.vci.corba.omd.data.AttributeValue[attrValList.size()]);
+		clo.newAttrValList = attrValList.toArray(new AttributeValue[attrValList.size()]);
 	};
 }

--
Gitblit v1.9.3