|
@@ -0,0 +1,50 @@
|
|
|
+package com.zkqy.execution.produce.dispersed.service.impl.runbpm.mes;
|
|
|
+
|
|
|
+import com.zkqy.common.core.domain.AjaxResult;
|
|
|
+import com.zkqy.execution.produce.dispersed.entity.CommonEntity;
|
|
|
+import com.zkqy.execution.produce.dispersed.entity.runbpm.BpmRunNodeFromVo;
|
|
|
+import com.zkqy.execution.produce.dispersed.entity.runbpm.IRunBPMEntity;
|
|
|
+import com.zkqy.execution.produce.dispersed.service.IRunBPMService;
|
|
|
+import org.springframework.context.annotation.Scope;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+import javax.annotation.PreDestroy;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 加弹-异常节点
|
|
|
+ */
|
|
|
+@Service("726e8197-dde4-405b-a5ac-c66b94c9a9d0")
|
|
|
+@Scope("prototype")
|
|
|
+public class ExceptionAmmunitionLoading implements IRunBPMService {
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public CommonEntity getNodeFormData(BpmRunNodeFromVo bpmRunNodeFromVo) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public AjaxResult preValidation(IRunBPMEntity iRunBPMEntity) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public AjaxResult executeNode(IRunBPMEntity iRunBPMEntity) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public AjaxResult afterValidation(IRunBPMEntity iRunBPMEntity) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean isVerificationMethod() {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @PreDestroy
|
|
|
+ public boolean preDestroy() {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+}
|