| 
															
																@@ -292,10 +292,10 @@ public class FlowEntryController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @OperationLog(type = SysOperationLogType.UPDATE) 
															 | 
															
															 | 
															
																     @OperationLog(type = SysOperationLogType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/updateMainVersion") 
															 | 
															
															 | 
															
																     @PostMapping("/updateMainVersion") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public ResponseResult<Void> updateMainVersion( 
															 | 
															
															 | 
															
																     public ResponseResult<Void> updateMainVersion( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            @MyRequestBody(required = true) Long entryId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            @MyRequestBody(required = true) Long newEntryPublishId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            @MyRequestBody(required = true) String entryId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            @MyRequestBody(required = true) String newEntryPublishId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         String errorMessage; 
															 | 
															
															 | 
															
																         String errorMessage; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        FlowEntryPublish flowEntryPublish = flowEntryService.getFlowEntryPublishFromCache(newEntryPublishId + ""); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        FlowEntryPublish flowEntryPublish = flowEntryService.getFlowEntryPublishFromCache(newEntryPublishId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (flowEntryPublish == null) { 
															 | 
															
															 | 
															
																         if (flowEntryPublish == null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             errorMessage = "数据验证失败,当前流程发布版本并不存在,请刷新后重试!"; 
															 | 
															
															 | 
															
																             errorMessage = "数据验证失败,当前流程发布版本并不存在,请刷新后重试!"; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_NOT_EXIST, errorMessage); 
															 | 
															
															 | 
															
																             return ResponseResult.error(ErrorCodeEnum.DATA_NOT_EXIST, errorMessage); 
															 |