From 600c2ebb55b18d687ff848cb6c9d9a61b8bfa307 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 15 十一月 2024 17:52:48 +0800 Subject: [PATCH] 优化业务类型链接类型查询接口 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/UIDataServiceI.java | 47 +++++++++++++++++++++++++++++++---------------- 1 files changed, 31 insertions(+), 16 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 e5a20a8..d3b564a 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 @@ -5,14 +5,14 @@ import com.vci.corba.omd.data.LinkObject; import com.vci.corba.omd.data.RevisionDataInfo; import com.vci.corba.omd.data.VersionDataInfo; +import com.vci.dto.*; 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.web.dto.*; -import com.vci.web.pageModel.OsBtmTypeVO; -import com.vci.web.pageModel.ReferConfigVO; -import com.vci.web.pageModel.UIFormDataVO; +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; @@ -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,7 @@ * @return 鏍戝舰鏁版嵁 * @throws VciBaseException 鏌ヨ鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父 */ - List<Tree> getDataForTree(UITreeQuery treeQuery) throws VciBaseException; + List<Tree> getDataForTree(UITreeQuery treeQuery) throws VciBaseException, PLException; /** * 璋冪敤鍓嶇疆浜嬩欢 @@ -61,7 +61,7 @@ * @return 鎵ц缁撴灉锛岃鍒ゆ柇success灞炴�ф槸鍚︿负true * @throws VciBaseException 閰嶇疆鎴栬�呮槸璋冪敤涓嶆垚鍔熺殑鏃跺�欙紝浼氭姏鍑哄紓甯� */ - BaseResult callPreEvent(BaseModelDTOList baseModelDTOList, BaseLinkModelDTOList baseLinkModelDTOList,String preEvent, VciChangeDocumentTypeEnum businessType) throws VciBaseException; + BaseResult callPreEvent(BaseModelDTOList baseModelDTOList, BaseLinkModelDTOList baseLinkModelDTOList, String preEvent, VciChangeDocumentTypeEnum businessType) throws VciBaseException; /** * 鍚庣疆浜嬩欢 @@ -108,7 +108,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 +160,7 @@ * @return 鎵ц缁撴灉鍜屼富閿� * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父 */ - BaseResult<String> batchAddSave(FormDataDTOList formDataDTOList) throws VciBaseException; + BaseResult<String> batchAddSave(FormDataDTOList formDataDTOList) throws VciBaseException, PLException; /** * 淇敼鏁版嵁銆傛敞鎰忚〃鍗曞畾涔夌殑瀛楁鎵嶄細琚慨鏀癸紝ts杩欑榛樿瀛楁闄ゅ @@ -168,7 +168,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 +184,7 @@ * @return 鎵ц缁撴灉鍜屾樉绀哄悗鐨勫�� * @throws VciBaseException 淇濆瓨鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父 */ - BaseResult<String> batchEditSave(FormDataDTOList formDataDTOList) throws VciBaseException; + BaseResult<String> batchEditSave(FormDataDTOList formDataDTOList) throws VciBaseException, PLException; /** * 鎵归噺鍒犻櫎 @@ -192,7 +192,7 @@ * @return 鎵ц缁撴灉 * @throws VciBaseException 鏁版嵁琚紩鐢ㄧ殑鏃跺�欎細鎶涘嚭寮傚父 */ - BaseResult batchDelete(DeleteDataDTO deleteDataDTO) throws VciBaseException; + BaseResult batchDelete(DeleteDataDTO deleteDataDTO) throws VciBaseException, PLException; /** * 閾炬帴绫诲瀷娣诲姞 @@ -200,7 +200,7 @@ * @return 閾炬帴绫诲瀷鐨勪富閿� * @throws VciBaseException 鍙傛暟涓虹┖锛屽繀杈撻」缂哄け */ - BaseResult<String> linkAddSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException; + BaseResult<String> linkAddSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException, PLException; /** * 璁剧疆鍊煎埌涓氬姟绫诲瀷鐨勫璞′笂 @@ -217,7 +217,7 @@ * @return 鎵ц缁撴灉 * @throws VciBaseException 鍙傛暟涓虹┖锛屽繀杈撻」缂哄け */ - BaseResult linkEditSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException; + BaseResult linkEditSave(FormLinkDataDTO formLinkDataDTO) throws VciBaseException, PLException; /** * 鍒犻櫎閾炬帴绫诲瀷 @@ -233,7 +233,7 @@ * @param pageHelper 鍒嗛〉鐨勫伐鍏� * @return 鍒楄〃鏁版嵁 */ - DataGrid referDataGrid(ReferConfigVO referConfigVO, PageHelper pageHelper); + DataGrid referDataGrid(ReferConfigVO referConfigVO, PageHelper pageHelper) throws PLException; /** * 鑾峰彇鏍戝舰鐨勫弬鐓� @@ -258,4 +258,19 @@ * @return 鎵ц鐨勭粨鏋� */ BaseResult deleteBusinessObject(String btmname, String oid, int type) throws PLException; + /** + * 鍙樻洿鎵�鏈夎�� + * @param btmname 涓氬姟绫诲瀷 + * @param oid 涓婚敭 + * @return 鎵ц鐨勭粨鏋� + */ + BaseResult changeBusinessObjectOwner(String btmname, String oid) throws PLException; + /** + * 鐘舵�佽穬杩� + * @param btmname 涓氬姟绫诲瀷 + * @param oid 涓婚敭 + * @param releaseStatus 鍙戝竷鐘舵�� + * @return 鎵ц鐨勭粨鏋� + */ + BaseResult transferBusinessObject(String btmname, String oid, String toStatus, String releaseStatus) throws PLException; } -- Gitblit v1.9.3