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/UIDataServiceI.java | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 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..e84f0d4 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 @@ -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