From d0ae279ff3b83358d1c07f4481a041c4ad335026 Mon Sep 17 00:00:00 2001
From: dangsn <dangsn@chicecm.com>
Date: 星期二, 03 十二月 2024 11:57:38 +0800
Subject: [PATCH] 提取业务系统使用的功能,独立出一个单独的模块

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java |   42 +++++++++++++++++++++++++-----------------
 1 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java
index 0bbdd9b..c50a67e 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java
@@ -6,16 +6,16 @@
 import com.vci.corba.omd.data.RevisionDataInfo;
 import com.vci.corba.omd.data.VersionDataInfo;
 import com.vci.dto.*;
+import com.vci.pagemodel.OsBtmTypeVO;
+import com.vci.pagemodel.ReferConfigVO;
+import com.vci.pagemodel.UIFormDataVO;
+import com.vci.query.UIDataGridQuery;
+import com.vci.query.UIFormQuery;
+import com.vci.query.UITreeQuery;
 import com.vci.starter.web.enumpck.VciChangeDocumentTypeEnum;
 import com.vci.starter.web.exception.VciBaseException;
 import com.vci.starter.web.model.BaseModel;
 import com.vci.starter.web.pagemodel.*;
-import com.vci.pagemodel.OsBtmTypeVO;
-import com.vci.pagemodel.ReferConfigVO;
-import com.vci.pagemodel.UIFormDataVO;
-import com.vci.web.query.UIDataGridQuery;
-import com.vci.web.query.UIFormQuery;
-import com.vci.web.query.UITreeQuery;
 
 import java.util.Collection;
 import java.util.List;
@@ -34,7 +34,7 @@
      * @return DataGrid涓璬ata涓篗ap<String,String>鏍煎紡
      * @throws VciBaseException 鏌ヨ鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    DataGrid getDataForGrid(UIDataGridQuery dataGridQuery)  throws VciBaseException;
+    DataGrid getDataForGrid(UIDataGridQuery dataGridQuery) throws VciBaseException, PLException;
 
     /**
      * 鑾峰彇琛ㄥ崟鐨勬暟鎹�
@@ -42,7 +42,7 @@
      * @return 琛ㄥ崟鐨勬暟鎹�
      * @throws VciBaseException 鏌ヨ鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    UIFormDataVO getDataForForm(UIFormQuery formQuery) throws VciBaseException;
+    UIFormDataVO getDataForForm(UIFormQuery formQuery) throws VciBaseException, PLException;
 
     /**
      * 鑾峰彇鏍戝舰鏁版嵁
@@ -50,7 +50,15 @@
      * @return 鏍戝舰鏁版嵁
      * @throws VciBaseException 鏌ヨ鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    List<Tree> getDataForTree(UITreeQuery treeQuery) throws VciBaseException;
+    List<UIDataTree> getDataForTree(UITreeQuery treeQuery) throws Exception;
+
+    /**
+     * 鑾峰彇鏍戝舰鏁版嵁(鏍规嵁鏌ヨ妯℃澘鏌ヨ瀵硅薄)
+     * @param treeQuery 鏍戝舰鏌ヨ鏉′欢
+     * @return 鏍戝舰鏁版嵁
+     * @throws VciBaseException 鏌ヨ鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
+     */
+    BaseResult getDataByTemp(UITreeQuery treeQuery) throws Exception;
 
     /**
      * 璋冪敤鍓嶇疆浜嬩欢
@@ -108,7 +116,7 @@
      * @return 鎵ц缁撴灉鍜屾樉绀哄悗鐨勫��
      * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    BaseResult<Map<String,Object>> addSave(FormDataDTO formDataDTO) throws VciBaseException;
+    BaseResult<Map<String,Object>> addSave(FormDataDTO formDataDTO) throws VciBaseException, PLException;
 
     /**
      * 涓氬姟绫诲瀷
@@ -160,7 +168,7 @@
      * @return 鎵ц缁撴灉鍜屼富閿�
      * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    BaseResult<String> batchAddSave(FormDataDTOList formDataDTOList) throws VciBaseException;
+    BaseResult<String> batchAddSave(FormDataDTOList formDataDTOList) throws VciBaseException, PLException;
 
     /**
      * 淇敼鏁版嵁銆傛敞鎰忚〃鍗曞畾涔夌殑瀛楁鎵嶄細琚慨鏀癸紝ts杩欑榛樿瀛楁闄ゅ
@@ -168,7 +176,7 @@
      * @return 鎵ц缁撴灉鍜屾樉绀哄悗鐨勫��
      * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    BaseResult<Map<String,Object>> editSave(FormDataDTO formDataDTO) throws VciBaseException;
+    BaseResult<Map<String,Object>> editSave(FormDataDTO formDataDTO) throws VciBaseException, PLException;
 
     /**
      * 鏁版嵁鍗囩増
@@ -184,7 +192,7 @@
      * @return 鎵ц缁撴灉鍜屾樉绀哄悗鐨勫��
      * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
      */
-    BaseResult<String> batchEditSave(FormDataDTOList formDataDTOList) throws VciBaseException;
+    BaseResult<String> batchEditSave(FormDataDTOList formDataDTOList) throws VciBaseException, PLException;
 
     /**
      * 鎵归噺鍒犻櫎
@@ -192,7 +200,7 @@
      * @return 鎵ц缁撴灉
      * @throws VciBaseException 鏁版嵁琚紩鐢ㄧ殑鏃跺�欎細鎶涘嚭寮傚父
      */
-    BaseResult batchDelete(DeleteDataDTO deleteDataDTO)  throws VciBaseException;
+    BaseResult batchDelete(DeleteDataDTO deleteDataDTO) throws VciBaseException, PLException;
 
     /**
      * 閾炬帴绫诲瀷娣诲姞
@@ -200,7 +208,7 @@
      * @return 閾炬帴绫诲瀷鐨勪富閿�
      * @throws VciBaseException 鍙傛暟涓虹┖锛屽繀杈撻」缂哄け
      */
-    BaseResult<String> linkAddSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException;
+    BaseResult<String> linkAddSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException, PLException;
 
     /**
      * 璁剧疆鍊煎埌涓氬姟绫诲瀷鐨勫璞′笂
@@ -217,7 +225,7 @@
      * @return 鎵ц缁撴灉
      * @throws VciBaseException 鍙傛暟涓虹┖锛屽繀杈撻」缂哄け
      */
-    BaseResult linkEditSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException;
+    BaseResult linkEditSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException, PLException;
 
     /**
      * 鍒犻櫎閾炬帴绫诲瀷
@@ -233,7 +241,7 @@
      * @param pageHelper 鍒嗛〉鐨勫伐鍏�
      * @return 鍒楄〃鏁版嵁
      */
-    DataGrid referDataGrid(ReferConfigVO referConfigVO, PageHelper pageHelper);
+    DataGrid referDataGrid(ReferConfigVO referConfigVO, PageHelper pageHelper) throws PLException;
 
     /**
      * 鑾峰彇鏍戝舰鐨勫弬鐓�

--
Gitblit v1.9.3