Commit a353e50b by zhouhaibao

[+]注释清楚

1 parent 7f22d73b
Showing 27 changed files with 9 additions and 628 deletions
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.enums;
public enum NodeTypeEnum {
START("开始控件", "start", (new SopNodeStart()).getClass()), //
// DATA("data控件", "data", (new FlowData()).getClass()), //
// SCRIPT("js脚本控件", "script", (new FlowScript()).getClass()), //
JAVA("java控件", "java", (new FlowJava()).getClass()), //
// PYTHON("python控件", "python", (new FlowPython()).getClass()), //
// LINUX("linux控件", "linux", (new FlowLinux()).getClass()), //
// WONTON("混沌控件", "wonton", (new FlowWonton()).getClass()), //
// SQLQUERY("sql查询控件", "sqlQuery", (new FlowSqlQuery()).getClass()), //
// SQLEXECUTE("sql执行控件", "sqlExecute", (new FlowSqlExecute()).getClass()), //
// LOOP("循环", "loop", (new FlowLoop()).getClass()), //
// PROCESS("子流程", "process", (new FlowProcess()).getClass()), //
END("结束控件", "end", (new FlowEnd()).getClass()),//
// DEMO("示例控件", "demo", (new FlowDemo()).getClass()), //
;
private String name;
private String value;
private Class<?> classes;
private NodeTypeEnum(String name, String value, Class<?> classes) {
this.name = name;
this.value = value;
this.classes = classes;
}
public static String getValueByName(String name) {
for (NodeTypeEnum c : NodeTypeEnum.values()) {
if (c.getName().equals(name)) {
return c.value;
}
}
return null;
}
public static String getNameByValue(String value) {
for (NodeTypeEnum c : NodeTypeEnum.values()) {
if (c.getValue().equals(value)) {
return c.name;
}
}
return null;
}
public static Class<?> getClassByValue(String value) {
for (NodeTypeEnum c : NodeTypeEnum.values()) {
if (c.getValue().equals(value)) {
return c.classes;
}
}
return null;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public Class<?> getClasses() {
return classes;
}
public void setClasses(Class<?> classes) {
this.classes = classes;
}
}
\ No newline at end of file \ No newline at end of file
package cn.com.glsx.process.modules.model.sop;
import lombok.Data;
@Data
public class Sop {
/** SOP模板 */
private Object sopTpl;
/** SOP授权 */
private Object sopGrant;
/** SOP实例 */
private Object sopInst;
/** SOP批次 */
private Object sopBatch;
}
package cn.com.glsx.process.modules.model.sop;
import java.util.ArrayList;
import com.mcg.entity.generate.ExecuteStruct;
import com.mcg.entity.generate.RunResult;
public abstract class SopNodeBase {
private static final long serialVersionUID = 8626194290037166978L;
// 各个基本方法执行的顺序
private ArrayList<String> sequence = new ArrayList<String>();
// 准备工作
public abstract void prepare(ArrayList<String> sequence, ExecuteStruct executeStruct) throws Exception;
// 执行组件算法
public abstract RunResult execute(ExecuteStruct executeStruct) throws Exception;
}
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.model.sop.start;
import java.util.ArrayList;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.hibernate.validator.constraints.NotEmpty;
import com.mcg.common.sysenum.EletypeEnum;
import com.mcg.entity.generate.ExecuteStruct;
import com.mcg.entity.generate.RunResult;
import com.mcg.plugin.execute.ProcessContext;
import com.mcg.plugin.execute.strategy.FlowStartStrategy;
import cn.com.glsx.process.modules.model.sop.SopNodeBase;
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
public class SopNodeStart extends SopNodeBase {
private static final long serialVersionUID = -5856043204850132040L;
@NotNull(message = "{flowStart.startId.null}")
@NotEmpty(message = "{flowStart.startId.empty}")
@XmlAttribute
private String startId;
@Valid
@NotNull(message = "{flowStart.startProperty.null}")
@XmlElement
private StartProperty startProperty;
@Override
public void prepare(ArrayList<String> sequence, ExecuteStruct executeStruct) throws Exception {
this.setFlowId(executeStruct.getFlowId());
this.setMcgWebScoketCode(executeStruct.getMcgWebScoketCode());
this.setOrderNum(executeStruct.getOrderNum());
this.setEletypeEnum(EletypeEnum.START);
ProcessContext processContext = new ProcessContext();
processContext.setProcessStrategy(new FlowStartStrategy());
processContext.prepare(sequence, this, executeStruct);
}
@Override
public RunResult execute(ExecuteStruct executeStruct) throws Exception {
ProcessContext processContext = new ProcessContext();
processContext.setProcessStrategy(new FlowStartStrategy());
RunResult runResult = processContext.run(this, executeStruct);
return runResult;
}
public String getStartId() {
return startId;
}
public void setStartId(String startId) {
this.startId = startId;
}
public StartProperty getStartProperty() {
return startProperty;
}
public void setStartProperty(StartProperty startProperty) {
this.startProperty = startProperty;
}
}
\ No newline at end of file \ No newline at end of file
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.model.sop.start;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
public class StartProperty implements Serializable {
private static final long serialVersionUID = -6831068936775340739L;
@Valid
@XmlElement
private List<Var> var;
public List<Var> getVar() {
return var;
}
public void setVar(List<Var> var) {
this.var = var;
}
}
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.model.sop.start;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
public class Var implements Serializable {
private static final long serialVersionUID = -3905729931199785787L;
// @NotBlank(message = "{flowStart.startProperty.var.key.notBlank}")
@XmlAttribute
private String key;
// @NotBlank(message = "{flowStart.startProperty.var.value.notBlank}")
@XmlAttribute
private String value;
@XmlAttribute
private String desc;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
}
...@@ -16,14 +16,6 @@ ...@@ -16,14 +16,6 @@
package cn.com.glsx.process.common.sysenum; package cn.com.glsx.process.common.sysenum;
/**
*
* @ClassName: DatabaseTypeEnum
* @Description: TODO(支持的数据库)
* @author: 缪聪(mcg-helper@qq.com)
* @date: 2018年3月9日 下午2:55:27
*
*/
public enum DatabaseTypeEnum { public enum DatabaseTypeEnum {
MYSQL("MYSQL", "MYSQL", "com.mysql.jdbc.Driver"), ORACLE("ORACLE", "ORACLE", "oracle.jdbc.driver.OralceDriver"), MSSQL("MSSQL", "MSSQL", "com.microsoft.sqlserver.jdbc.SQLServerDriver"), POSTGRESQL("POSTGRESQL", "POSTGRESQL", "org.postgresql.Driver"); MYSQL("MYSQL", "MYSQL", "com.mysql.jdbc.Driver"), ORACLE("ORACLE", "ORACLE", "oracle.jdbc.driver.OralceDriver"), MSSQL("MSSQL", "MSSQL", "com.microsoft.sqlserver.jdbc.SQLServerDriver"), POSTGRESQL("POSTGRESQL", "POSTGRESQL", "org.postgresql.Driver");
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute; package cn.com.glsx.process.modules.sop.execute;
import org.slf4j.Logger; import org.slf4j.Logger;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.mssql; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.mssql;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.mysql; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.mysql;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.oracle; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.oracle;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.postgresql; package cn.com.glsx.process.modules.sop.execute.plugin.dbconn.postgresql;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.java; package cn.com.glsx.process.modules.sop.execute.plugin.java;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.java; package cn.com.glsx.process.modules.sop.execute.plugin.java;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.java; package cn.com.glsx.process.modules.sop.execute.plugin.java;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.java; package cn.com.glsx.process.modules.sop.execute.plugin.java;
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.modules.sop.execute.plugin.java; package cn.com.glsx.process.modules.sop.execute.plugin.java;
......
...@@ -13,11 +13,6 @@ import org.springframework.core.io.Resource; ...@@ -13,11 +13,6 @@ import org.springframework.core.io.Resource;
import org.springframework.core.io.support.EncodedResource; import org.springframework.core.io.support.EncodedResource;
import org.springframework.core.io.support.PropertiesLoaderUtils; import org.springframework.core.io.support.PropertiesLoaderUtils;
/**
* i18n util
*
* @author xuxueli 2018-01-17 20:39:06
*/
public class I18nUtil { public class I18nUtil {
private static Logger logger = LoggerFactory.getLogger(I18nUtil.class); private static Logger logger = LoggerFactory.getLogger(I18nUtil.class);
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.util; package cn.com.glsx.process.util;
......
...@@ -11,14 +11,6 @@ import com.fasterxml.jackson.databind.JavaType; ...@@ -11,14 +11,6 @@ import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Jackson util
*
* 1、obj need private and set/get;
* 2、do not support inner class;
*
* @author xuxueli 2015-9-25 18:02:56
*/
public class JacksonUtil { public class JacksonUtil {
private static Logger logger = LoggerFactory.getLogger(JacksonUtil.class); private static Logger logger = LoggerFactory.getLogger(JacksonUtil.class);
......
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.com.glsx.process.util; package cn.com.glsx.process.util;
...@@ -20,14 +6,6 @@ import org.apache.commons.lang.StringUtils; ...@@ -20,14 +6,6 @@ import org.apache.commons.lang.StringUtils;
import com.google.common.base.CaseFormat; import com.google.common.base.CaseFormat;
/**
*
* @ClassName: Tools
* @Description: TODO(字符操作、hibernate validator)
* @author: 缪聪(mcg-helper@qq.com)
* @date: 2018年3月9日 下午5:41:39
*
*/
public class Tools { public class Tools {
public static String genFlowInstanceId(String httpSessionId, String flowId) { public static String genFlowInstanceId(String httpSessionId, String flowId) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!