java110 лет назад: 4
Родитель
Сommit
e4825e6dac

+ 1 - 1
service-common/src/main/java/com/java110/common/bmo/workflow/impl/QueryWorkFlowFirstStaffBMOImpl.java

@@ -166,7 +166,7 @@ public class QueryWorkFlowFirstStaffBMOImpl implements IQueryWorkFlowFirstStaffB
                     .addInputStream(processName, in).deploy();
             deploymentid = deployment.getId();
         } catch (Exception e) {
-            System.out.println(e);
+            throw new IllegalArgumentException(e);
         }
         Assert.isTrue(!StringUtil.isEmpty(deploymentid), "流程部署出错");
         ProcessDefinition processDefinition = repositoryService