From 5203081b68e3a8dc139d1807b2f8774e4a00a82a Mon Sep 17 00:00:00 2001
From: ludc <ludc@vci-tech.com>
Date: 星期四, 16 一月 2025 11:11:59 +0800
Subject: [PATCH] 退出登录接口增加清除session、jwttoken等缓存信息
---
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLifeCycleServiceI.java | 97 +++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 82 insertions(+), 15 deletions(-)
diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLifeCycleServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLifeCycleServiceI.java
index fe80c5f..e3dd04a 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLifeCycleServiceI.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsLifeCycleServiceI.java
@@ -1,14 +1,16 @@
package com.vci.web.service;
+import com.vci.corba.common.PLException;
+import com.vci.corba.omd.data.BusinessObject;
import com.vci.corba.omd.lcm.LifeCycle;
+import com.vci.dto.OsLifeCycleDTO;
+import com.vci.pagemodel.*;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.starter.web.pagemodel.BaseQueryObject;
+import com.vci.starter.web.pagemodel.BaseResult;
import com.vci.starter.web.pagemodel.DataGrid;
-import com.vci.web.pageModel.OsERVO;
-import com.vci.web.pageModel.OsLifeCycleLineVO;
-import com.vci.web.pageModel.OsLifeCycleVO;
-import com.vci.web.pageModel.OsStatusVO;
+import java.io.File;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@@ -20,8 +22,7 @@
*/
public interface OsLifeCycleServiceI extends OsBaseServiceI{
-
- /***
+ /**
* 鑾峰彇鐢熷懡鍛ㄦ湡鐨勭姸鎬佸搴旂殑涓枃鍊�
* @param status 鐘舵��
* @return 鐘舵�佺殑鏄剧ず鍚嶇О
@@ -35,7 +36,7 @@
* @param targetStatus 鐩爣鐨勭敓鍛藉懆鏈熺姸鎬侊紝涓嶅尯鍒嗗ぇ灏�
* @throws VciBaseException 濡傛灉鐩爣鐢熷懡鍛ㄦ湡鍜屽綋鍓嶇敓鍛藉懆鏈熺姸鎬佹病鏈夎繛鎺ョ嚎鏃舵姏鍑哄紓甯�
*/
- void transStatus(com.vci.corba.omd.data.BusinessObject bo, String targetStatus) throws VciBaseException;
+ void transStatus(BusinessObject bo, String targetStatus) throws VciBaseException;
/**
* 鎵归噺璺冭縼鐢熷懡鍛ㄦ湡鐘舵�侊紝杩欎簺鏁版嵁涓殑褰撳墠鐘舵�佸繀椤婚兘鏄竴鏍枫�傛垨鑰呮槸褰撳墠鐘舵�侀兘鍙互杩炴帴鍒扮洰鏍囩姸鎬�
@@ -43,7 +44,7 @@
* @param targetStatus 鐩爣鐘舵�侊紝涓嶅尯鍒嗗ぇ灏忓啓
* @throws VciBaseException 杞崲鐢熷懡鍛ㄦ湡鍑洪敊鐨勬椂鍊欐姏鍑哄紓甯�
*/
- void transStatus(List<com.vci.corba.omd.data.BusinessObject> boList, String targetStatus) throws VciBaseException;
+ void transStatus(List<BusinessObject> boList, String targetStatus) throws VciBaseException;
/**
* 鎵归噺璺冭縼鐢熷懡鍛ㄦ湡鐘舵�侊紝杩欎簺鏁版嵁涓殑褰撳墠鐘舵�佸繀椤婚兘鏄竴鏍凤紝鎴栬�呮槸褰撳墠鐘舵�侀兘鍙互杩炴帴鍒扮洰鏍囩姸鎬�
@@ -51,7 +52,7 @@
* @param targetStatus 鐩爣鐘舵�侊紝涓嶅尯鍒嗗ぇ灏忓啓
* @throws VciBaseException 杞崲鐢熷懡鍛ㄦ湡鍑洪敊鐨勬椂鍊欐姏鍑哄紓甯�
*/
- void transStatus(com.vci.corba.omd.data.BusinessObject[] bos, String targetStatus) throws VciBaseException;
+ void transStatus(BusinessObject[] bos, String targetStatus) throws VciBaseException;
/**
* 鎵归噺璺冭縼鐢熷懡鍛ㄦ湡鐘舵�侊紝杩欎簺鏁版嵁涓殑褰撳墠鐘舵�佸繀椤婚兘鏄竴鏍凤紝鎴栬�呮槸褰撳墠鐘舵�侀兘鍙互杩炴帴鍒扮洰鏍囩姸鎬�
@@ -59,7 +60,7 @@
* @param targetStatus 鐩爣鐘舵�侊紝涓嶅尯鍒嗗ぇ灏忓啓
* @throws VciBaseException 杞崲鐢熷懡鍛ㄦ湡鍑洪敊鐨勬椂鍊欐姏鍑哄紓甯�
*/
- void transCboStatus(List<com.vci.client.bof.ClientBusinessObject> cboList, String targetStatus) throws VciBaseException;
+ void transCboStatus(List<BusinessObject> cboList, String targetStatus) throws VciBaseException;
/**
* 閫氳繃缂栧彿鑾峰彇鐢熷懡鍛ㄦ湡鐘舵�佸璞★紝
@@ -67,6 +68,7 @@
* @return 鐢熷懡鍛ㄦ湡鐨勬樉绀哄璞�
*/
OsLifeCycleVO getLifeCycleById(String lctId) ;
+
/**
* 鐢熷懡鍛ㄦ湡鐨勬暟鎹璞¤浆鎹负鏄剧ず瀵硅薄
* @param lifeCycles 鏁版嵁瀵硅薄
@@ -86,7 +88,7 @@
* @param lifeCycleVO 鏄剧ず瀵硅薄
* @return 鏁版嵁瀵硅薄
*/
- LifeCycle lifeCycleVO2DO(OsLifeCycleVO lifeCycleVO);
+ LifeCycle lifeCycleVO2DO(OsLifeCycleVO lifeCycleVO) throws PLException;
/**
* 鏌ヨ鎵�鏈夌敓鍛藉懆鏈熺姸鎬�
@@ -118,7 +120,7 @@
* @param lineVO 璺冭縼璺敱
* @throws VciBaseException 璺冭縼鍑洪敊鐨勬槸浼氭姏鍑哄紓甯�
*/
- void doTransVO(com.vci.corba.omd.data.BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException;
+ void doTransVO(BusinessObject obj, OsLifeCycleLineVO lineVO) throws VciBaseException;
/**
* 鎵归噺鎵ц璺冭縼鎿嶄綔锛岃姹傚繀椤绘槸鍚屼竴涓笟鍔$被鍨嬩笅鐨�
@@ -127,7 +129,7 @@
* @param releaseStatus 鍙戝竷鐘舵�侊紝濡傛灉鐩爣鐘舵�佹槸鍙戝竷鐘舵�佹椂浼犻�掕繖涓��
* @throws VciBaseException 璺冭縼鍑洪敊鐨勬槸浼氭姏鍑哄紓甯�
*/
- void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs,
+ void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] lineVOs,
String[] releaseStatus) throws VciBaseException;
/**
@@ -136,7 +138,7 @@
* @param vos 璺冭縼瀵硅薄
* @throws VciBaseException 璺冭縼鍑洪敊鐨勬槸浼氭姏鍑哄紓甯�
*/
- void batchTransVo(com.vci.corba.omd.data.BusinessObject[] bos, OsLifeCycleLineVO[] vos)
+ void batchTransVo(BusinessObject[] bos, OsLifeCycleLineVO[] vos)
throws VciBaseException;
/**
@@ -145,6 +147,13 @@
* @return 鐘舵�佺殑鏄剧ず瀵硅薄
*/
List<OsStatusVO> listStatusById(String lifeCycleId);
+
+ /**
+ * 浣跨敤澶氫釜缂栧彿鑾峰彇鐢熷懡鍛ㄦ湡鐨勫璞�
+ * @param lcIdList 缂栧彿
+ * @return 鏄剧ず瀵硅薄
+ */
+ List<OsLifeCycleVO> getLifeCycleByIds(Collection<String> lcIdList);
/**
* 鎵归噺娣诲姞鐢熷懡鍛ㄦ湡
@@ -159,7 +168,7 @@
void batchEditLifeCycle(List<LifeCycle> lifeCycleList);
/**
- * 鐘舵�佸湪鐢熷懡鍛ㄦ湡涓娇鐢ㄧ殑鍕ゅ揩
+ * 鐘舵�佸湪鐢熷懡鍛ㄦ湡涓娇鐢ㄧ殑鎯呭喌
* @param statusOid 鐘舵�佺殑涓婚敭
* @return 鐢熷懡鍛ㄦ湡鐨勪俊鎭�
*/
@@ -180,9 +189,67 @@
DataGrid<OsLifeCycleVO> gridLifeCycle(BaseQueryObject baseQueryObject);
/**
+ * 鏂板鍗曟潯鐢熷懡鍛ㄦ湡
+ * @param osLifeCycleVO
+ * @return
+ */
+ boolean addLifeCycle(OsLifeCycleVO osLifeCycleVO) throws PLException;
+
+ /**
+ * 淇敼鐢熷懡鍛ㄦ湡
+ * @param osLifeCycleVO
+ * @return
+ */
+ boolean updateLifeCycle(OsLifeCycleVO osLifeCycleVO) throws PLException;
+
+ /**
+ * 鍒犻櫎鐢熷懡鍛ㄦ湡
+ * @param lifeCycleDTOS
+ * @return
+ */
+ boolean deleteLifeCycles(List<OsLifeCycleDTO> lifeCycleDTOS) throws PLException;
+
+ /**
+ * 鏌ョ湅鐢熷懡鍛ㄦ湡鐨勪娇鐢ㄨ寖鍥�
+ * @return
+ */
+ List<Map<String,String>> getUsedLifeCycleList(String lifeCycleName) throws PLException;
+
+ /**
+ * 瀵煎嚭閫変腑鐨勭敓鍛藉懆鏈�
+ * @param exportFileName 瀵煎嚭鐨勬枃浠跺悕
+ * @param lcNames 闇�瑕佸鍑虹殑鐢熷懡鍛ㄦ湡鍚嶇О
+ * @param flag 鎺у埗瀵煎嚭鐨勫垪鍚嶆槸鍚﹀拰瀵煎叆妯℃澘涓�鑷�
+ * @return
+ */
+ String exportLifeCycles(String exportFileName,String lcNames,boolean flag/*鎺у埗瀵煎嚭鐨勫垪鍚嶆槸鍚﹀拰瀵煎叆妯℃澘涓�鑷�*/) throws PLException;
+
+ /**
+ * 涓嬭浇鐢熷懡鍛ㄦ湡瀵煎叆妯℃澘
+ * @param exportFileName
+ * @return
+ * @throws PLException
+ */
+ String downloadLifeCycleTemplate(String exportFileName) throws Exception;
+
+ /**
+ * 瀵煎叆鐢熷懡鍛ㄦ湡
+ * @param file
+ * @return
+ */
+ BaseResult importLifeCycles(File file) throws Exception;
+
+ /**
* 鐢熷懡鍛ㄦ湡鐨勯摼鎺ョ嚎
* @param id 缂栧彿
* @return ER鍥惧唴瀹�
*/
OsERVO listLinesPic(String id);
+
+ /**
+ * 鏌ヨ鎵�鏈夎穬杩佷簨浠秌ey
+ * @return
+ */
+ List<String> getLCEventKeys() throws PLException;
+
}
--
Gitblit v1.9.3