mvn推包配置
This commit is contained in:
parent
bc254cd522
commit
b6160d520f
5
pom.xml
5
pom.xml
@ -8,7 +8,7 @@
|
||||
<version>2.4.13.5</version>
|
||||
</parent>
|
||||
|
||||
<groupId>cn.axzo</groupId>
|
||||
<groupId>cn.axzo.workflow</groupId>
|
||||
<artifactId>workflow-engine</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
@ -94,7 +94,8 @@
|
||||
<url>https://nexus.axzo.cn/repository/axzo/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<modules> <module>workflow-engine-server</module>
|
||||
<modules>
|
||||
<module>workflow-engine-server</module>
|
||||
<module>workflow-engine-api</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
<parent>
|
||||
<artifactId>workflow-engine</artifactId>
|
||||
<groupId>cn.axzo</groupId>
|
||||
<groupId>cn.axzo.workflow</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@ -2,13 +2,12 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>workflow-engine</artifactId>
|
||||
<groupId>cn.axzo</groupId>
|
||||
<groupId>cn.axzo.workflow</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
<artifactId>workflow-engine-server</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
package cn.axzo.server;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@MapperScan(value = {"cn.axzo.**.mapper"})
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
}
|
||||
@ -1,12 +1,8 @@
|
||||
package cn.axzo.server.repository.mapper;
|
||||
|
||||
import cn.axzo.server.service.dto.process.BpmProcessInstanceExtDO;
|
||||
import cn.axzo.server.service.dto.response.PageResult;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
@Mapper
|
||||
public interface BpmProcessInstanceExtMapper extends BaseMapper<BpmProcessInstanceExtDO> {
|
||||
|
||||
@ -3,7 +3,7 @@ package cn.axzo.server.service;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelCreateDTO;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelPageDTO;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelUpdateDTO;
|
||||
import cn.axzo.server.service.dto.response.PageResult;
|
||||
import cn.axzo.server.service.dto.response.BpmPageResult;
|
||||
import cn.axzo.server.service.dto.response.model.BpmModelDetailVO;
|
||||
import cn.axzo.server.service.dto.response.model.BpmModelPageItemVO;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@ -14,7 +14,7 @@ public interface BpmModelService {
|
||||
/**
|
||||
* 获取流程模型的查询结果
|
||||
* */
|
||||
PageResult<BpmModelPageItemVO> getModelPage(BpmModelPageDTO modelPageDTO);
|
||||
BpmPageResult<BpmModelPageItemVO> getModelPage(BpmModelPageDTO modelPageDTO);
|
||||
|
||||
/**
|
||||
* 创建流程,
|
||||
|
||||
@ -2,8 +2,7 @@ package cn.axzo.server.service;
|
||||
|
||||
import cn.axzo.server.service.dto.request.task.BpmTaskAuditDTO;
|
||||
import cn.axzo.server.service.dto.request.task.BpmTaskTodoPageDTO;
|
||||
import cn.axzo.server.service.dto.response.PageResult;
|
||||
import cn.axzo.server.service.dto.response.model.BpmModelPageItemVO;
|
||||
import cn.axzo.server.service.dto.response.BpmPageResult;
|
||||
import cn.axzo.server.service.dto.response.task.BpmTaskDonePageItemVO;
|
||||
import cn.axzo.server.service.dto.response.task.BpmTaskTodoPageItemVO;
|
||||
import org.flowable.task.api.Task;
|
||||
@ -16,17 +15,17 @@ public interface BpmTaskService {
|
||||
/**
|
||||
* 待审核列表
|
||||
* */
|
||||
PageResult<BpmTaskTodoPageItemVO> getTodoTaskPage(BpmTaskTodoPageDTO taskTodoPageDTO);
|
||||
BpmPageResult<BpmTaskTodoPageItemVO> getTodoTaskPage(BpmTaskTodoPageDTO taskTodoPageDTO);
|
||||
|
||||
/**
|
||||
* 已完成的审批列表
|
||||
* */
|
||||
PageResult<BpmTaskDonePageItemVO> getDoneTaskPage(BpmTaskTodoPageDTO taskDonePageD);
|
||||
BpmPageResult<BpmTaskDonePageItemVO> getDoneTaskPage(BpmTaskTodoPageDTO taskDonePageD);
|
||||
|
||||
/**
|
||||
* 我发起的审批列表
|
||||
* */
|
||||
PageResult<BpmTaskDonePageItemVO> getOwnTaskPage(BpmTaskTodoPageDTO taskDonePageD);
|
||||
BpmPageResult<BpmTaskDonePageItemVO> getOwnTaskPage(BpmTaskTodoPageDTO taskDonePageD);
|
||||
|
||||
/**
|
||||
* 同意
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
package cn.axzo.server.service.dto;
|
||||
|
||||
public class BpmUser {
|
||||
|
||||
private String name;
|
||||
private String userId;
|
||||
}
|
||||
@ -1,6 +1,5 @@
|
||||
package cn.axzo.server.service.dto.response;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@ -9,7 +8,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ApiModel("分页结果")
|
||||
public class PageResult<T> implements Serializable {
|
||||
public class BpmPageResult<T> implements Serializable {
|
||||
@ApiModelProperty(
|
||||
value = "数据",
|
||||
required = true
|
||||
@ -21,25 +20,25 @@ public class PageResult<T> implements Serializable {
|
||||
)
|
||||
private Long total;
|
||||
|
||||
public PageResult() {
|
||||
public BpmPageResult() {
|
||||
}
|
||||
|
||||
public PageResult(List<T> list, Long total) {
|
||||
public BpmPageResult(List<T> list, Long total) {
|
||||
this.list = list;
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public PageResult(Long total) {
|
||||
public BpmPageResult(Long total) {
|
||||
this.list = new ArrayList();
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public static <T> PageResult<T> empty() {
|
||||
return new PageResult(0L);
|
||||
public static <T> BpmPageResult<T> empty() {
|
||||
return new BpmPageResult(0L);
|
||||
}
|
||||
|
||||
public static <T> PageResult<T> empty(Long total) {
|
||||
return new PageResult(total);
|
||||
public static <T> BpmPageResult<T> empty(Long total) {
|
||||
return new BpmPageResult(total);
|
||||
}
|
||||
|
||||
public List<T> getList() {
|
||||
@ -50,12 +49,12 @@ public class PageResult<T> implements Serializable {
|
||||
return this.total;
|
||||
}
|
||||
|
||||
public PageResult<T> setList(List<T> list) {
|
||||
public BpmPageResult<T> setList(List<T> list) {
|
||||
this.list = list;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PageResult<T> setTotal(Long total) {
|
||||
public BpmPageResult<T> setTotal(Long total) {
|
||||
this.total = total;
|
||||
return this;
|
||||
}
|
||||
@ -63,10 +62,10 @@ public class PageResult<T> implements Serializable {
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
} else if (!(o instanceof PageResult)) {
|
||||
} else if (!(o instanceof BpmPageResult)) {
|
||||
return false;
|
||||
} else {
|
||||
PageResult<?> other = (PageResult)o;
|
||||
BpmPageResult<?> other = (BpmPageResult)o;
|
||||
Object this$total = this.getTotal();
|
||||
Object other$total = other.getTotal();
|
||||
if (this$total == null) {
|
||||
@ -1 +0,0 @@
|
||||
package cn.axzo.server.service.dto.response;
|
||||
@ -0,0 +1,4 @@
|
||||
package cn.axzo.server.service.dto.response.process;
|
||||
|
||||
public class BpmProcessDefinitionVO {
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
package cn.axzo.server.service.dto.response.task;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class BpmTaskComment {
|
||||
|
||||
protected String type;
|
||||
protected String userId;
|
||||
protected Date time;
|
||||
protected String taskId;
|
||||
protected String processInstanceId;
|
||||
protected String action;
|
||||
protected String message;
|
||||
protected String fullMessage;
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
package cn.axzo.server.service.dto.response.user;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: liyong.tian
|
||||
* @Date: 2022/9/2
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
public class UserVO {
|
||||
|
||||
@ApiModelProperty(value = "id", position = 1)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "名称", position = 2)
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "性别", position = 3)
|
||||
private Integer sex;
|
||||
|
||||
@ApiModelProperty(value = "年龄", position = 4)
|
||||
private Integer age;
|
||||
|
||||
@ApiModelProperty(value = "电话", position = 5)
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "邮箱", position = 6)
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "地址", position = 7)
|
||||
private String address;
|
||||
}
|
||||
@ -7,7 +7,7 @@ import cn.axzo.server.service.converter.BpmModelConverter;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelCreateDTO;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelPageDTO;
|
||||
import cn.axzo.server.service.dto.request.model.BpmModelUpdateDTO;
|
||||
import cn.axzo.server.service.dto.response.PageResult;
|
||||
import cn.axzo.server.service.dto.response.BpmPageResult;
|
||||
import cn.axzo.server.service.dto.response.model.BpmModelDetailVO;
|
||||
import cn.axzo.server.service.dto.response.model.BpmModelPageItemVO;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
@ -16,9 +16,11 @@ import org.flowable.engine.RepositoryService;
|
||||
import org.flowable.engine.repository.Model;
|
||||
import org.flowable.engine.repository.ProcessDefinition;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Service
|
||||
public class BpmModelServiceImpl implements BpmModelService {
|
||||
|
||||
@Resource
|
||||
@ -30,7 +32,7 @@ public class BpmModelServiceImpl implements BpmModelService {
|
||||
private BpmProcessDefinitionServiceImpl processDefinitionServiceImpl;
|
||||
|
||||
@Override
|
||||
public PageResult<BpmModelPageItemVO> getModelPage(BpmModelPageDTO modelPageDTO) {
|
||||
public BpmPageResult<BpmModelPageItemVO> getModelPage(BpmModelPageDTO modelPageDTO) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
package cn.axzo.server.service.impl;
|
||||
|
||||
import cn.axzo.server.repository.mapper.BpmProcessInstanceExtMapper;
|
||||
import cn.axzo.server.service.BpmProcessDefinitionService;
|
||||
import cn.axzo.server.service.BpmTaskService;
|
||||
import com.github.xiaoymin.knife4j.core.util.StrUtil;
|
||||
import org.flowable.engine.*;
|
||||
import org.flowable.engine.runtime.ProcessInstance;
|
||||
import org.flowable.engine.runtime.ProcessInstanceQuery;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
public class BpmProcessInstanceServiceImpl {
|
||||
|
||||
// @Autowired
|
||||
@ -20,10 +32,6 @@ public class BpmProcessInstanceServiceImpl {
|
||||
// private BpmProcessDefinitionService processDefinitionService;
|
||||
// @Autowired
|
||||
// private HistoryService historyService;
|
||||
// @Resource
|
||||
// private BpmProcessInstanceResultEventPublisher processInstanceResultEventPublisher;
|
||||
// @Autowired
|
||||
// private CustomIdGeneratorService customIdGeneratorService;
|
||||
//
|
||||
// @Override
|
||||
// public ProcessInstance getProcessInstance(String id, String tenantId) {
|
||||
|
||||
@ -3,20 +3,14 @@ package cn.axzo.server.service.impl;
|
||||
import cn.axzo.server.service.BpmTaskService;
|
||||
import cn.axzo.server.service.dto.request.task.BpmTaskAuditDTO;
|
||||
import cn.axzo.server.service.dto.request.task.BpmTaskTodoPageDTO;
|
||||
import cn.axzo.server.service.dto.response.PageResult;
|
||||
import cn.axzo.server.service.dto.response.BpmPageResult;
|
||||
import cn.axzo.server.service.dto.response.task.BpmTaskDonePageItemVO;
|
||||
import cn.axzo.server.service.dto.response.task.BpmTaskTodoPageItemVO;
|
||||
import org.flowable.engine.runtime.ProcessInstance;
|
||||
import org.flowable.task.api.Task;
|
||||
import org.flowable.task.api.TaskQuery;
|
||||
import org.flowable.task.api.history.HistoricTaskInstance;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class BpmTaskServiceImpl implements BpmTaskService {
|
||||
@ -24,17 +18,17 @@ public class BpmTaskServiceImpl implements BpmTaskService {
|
||||
|
||||
|
||||
@Override
|
||||
public PageResult<BpmTaskTodoPageItemVO> getTodoTaskPage(BpmTaskTodoPageDTO taskTodoPageDTO) {
|
||||
public BpmPageResult<BpmTaskTodoPageItemVO> getTodoTaskPage(BpmTaskTodoPageDTO taskTodoPageDTO) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageResult<BpmTaskDonePageItemVO> getDoneTaskPage(BpmTaskTodoPageDTO taskDonePageD) {
|
||||
public BpmPageResult<BpmTaskDonePageItemVO> getDoneTaskPage(BpmTaskTodoPageDTO taskDonePageD) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageResult<BpmTaskDonePageItemVO> getOwnTaskPage(BpmTaskTodoPageDTO taskDonePageD) {
|
||||
public BpmPageResult<BpmTaskDonePageItemVO> getOwnTaskPage(BpmTaskTodoPageDTO taskDonePageD) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.axzo.server.service.BpmProcessDefinitionService
|
||||
@ -1,37 +0,0 @@
|
||||
spring:
|
||||
application:
|
||||
name: archetype-micro-standard
|
||||
cloud:
|
||||
nacos:
|
||||
config:
|
||||
server-addr: ${NACOS_HOST:test-nacos.axzo.cn}:${NACOS_PORT:80}
|
||||
file-extension: yaml
|
||||
namespace: ${NACOS_NAMESPACE_ID:f3c0f0d2-bac4-4498-bee7-9c3636b3afdf}
|
||||
prefix: ${spring.application.name}
|
||||
profiles:
|
||||
active: ${NACOS_PROFILES_ACTIVE:test}
|
||||
include: swagger
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.alibaba.nacos.client.config.impl: WARN
|
||||
|
||||
management:
|
||||
endpoint:
|
||||
metrics:
|
||||
enabled: true
|
||||
prometheus:
|
||||
enabled: true
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
metrics:
|
||||
export:
|
||||
prometheus:
|
||||
enabled: true
|
||||
|
||||
knife4j:
|
||||
enable: true
|
||||
@ -1,363 +0,0 @@
|
||||
{
|
||||
"id":"root",
|
||||
"desc":"任何人",
|
||||
"name":"发起人",
|
||||
"type":"ROOT",
|
||||
"props":{
|
||||
"assignedUser":[
|
||||
|
||||
]
|
||||
},
|
||||
"children":{
|
||||
"id":"node_960168688549",
|
||||
"parentId":"root",
|
||||
"props":{
|
||||
"assignedType":"ASSIGN_USER",
|
||||
"mode":"AND",
|
||||
"sign":false,
|
||||
"nobody":{
|
||||
"handler":"TO_PASS",
|
||||
"assignedUser":[
|
||||
|
||||
]
|
||||
},
|
||||
"timeLimit":{
|
||||
"timeout":{
|
||||
"unit":"H",
|
||||
"value":0
|
||||
},
|
||||
"handler":{
|
||||
"type":"REFUSE",
|
||||
"notify":{
|
||||
"once":true,
|
||||
"hour":1
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignedUser":[
|
||||
{
|
||||
"id":381496,
|
||||
"name":"旅人",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
],
|
||||
"selfSelect":{
|
||||
"multiple":false
|
||||
},
|
||||
"leaderTop":{
|
||||
"endCondition":"TOP",
|
||||
"endLevel":1
|
||||
},
|
||||
"leader":{
|
||||
"level":1
|
||||
},
|
||||
"role":[
|
||||
|
||||
],
|
||||
"refuse":{
|
||||
"type":"TO_END",
|
||||
"target":""
|
||||
},
|
||||
"formUser":""
|
||||
},
|
||||
"type":"APPROVAL",
|
||||
"name":"审批人",
|
||||
"children":{
|
||||
"id":"node_960195836162",
|
||||
"parentId":"node_960168688549",
|
||||
"props":{
|
||||
|
||||
},
|
||||
"type":"CONDITIONS",
|
||||
"name":"条件分支",
|
||||
"children":{
|
||||
"id":"node_960195832920",
|
||||
"parentId":"node_960195836162",
|
||||
"type":"EMPTY",
|
||||
"children":{
|
||||
"id":"node_960249495860",
|
||||
"parentId":"node_960195832920",
|
||||
"props":{
|
||||
"assignedType":"ASSIGN_USER",
|
||||
"mode":"AND",
|
||||
"sign":false,
|
||||
"nobody":{
|
||||
"handler":"TO_PASS",
|
||||
"assignedUser":[
|
||||
|
||||
]
|
||||
},
|
||||
"timeLimit":{
|
||||
"timeout":{
|
||||
"unit":"H",
|
||||
"value":0
|
||||
},
|
||||
"handler":{
|
||||
"type":"REFUSE",
|
||||
"notify":{
|
||||
"once":true,
|
||||
"hour":1
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignedUser":[
|
||||
{
|
||||
"id":489564,
|
||||
"name":"李秋香",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
],
|
||||
"selfSelect":{
|
||||
"multiple":false
|
||||
},
|
||||
"leaderTop":{
|
||||
"endCondition":"TOP",
|
||||
"endLevel":1
|
||||
},
|
||||
"leader":{
|
||||
"level":1
|
||||
},
|
||||
"role":[
|
||||
|
||||
],
|
||||
"refuse":{
|
||||
"type":"TO_END",
|
||||
"target":""
|
||||
},
|
||||
"formUser":""
|
||||
},
|
||||
"type":"APPROVAL",
|
||||
"name":"审批人",
|
||||
"children":{
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
"branchs":[
|
||||
{
|
||||
"id":"node_960195838564",
|
||||
"parentId":"node_960195836162",
|
||||
"type":"CONDITION",
|
||||
"props":{
|
||||
"groupsType":"OR",
|
||||
"groups":[
|
||||
{
|
||||
"groupType":"AND",
|
||||
"cids":[
|
||||
"root"
|
||||
],
|
||||
"conditions":[
|
||||
{
|
||||
"id":"root",
|
||||
"title":"发起人",
|
||||
"valueType":"User",
|
||||
"compare":"",
|
||||
"value":[
|
||||
{
|
||||
"id":568898,
|
||||
"name":"王翠花",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expression":"2"
|
||||
},
|
||||
"name":"条件1",
|
||||
"children":{
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"id":"node_960195831056",
|
||||
"parentId":"node_960195836162",
|
||||
"type":"CONDITION",
|
||||
"props":{
|
||||
"groupsType":"OR",
|
||||
"groups":[
|
||||
{
|
||||
"cids":[
|
||||
"root"
|
||||
],
|
||||
"groupType":"OR",
|
||||
"conditions":[
|
||||
{
|
||||
"id":"root",
|
||||
"title":"发起人",
|
||||
"valueType":"User",
|
||||
"compare":"",
|
||||
"value":[
|
||||
{
|
||||
"id":381496,
|
||||
"name":"旅人",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expression":"1"
|
||||
},
|
||||
"name":"条件2",
|
||||
"children":{
|
||||
"id":"node_960218787447",
|
||||
"parentId":"node_960195831056",
|
||||
"props":{
|
||||
|
||||
},
|
||||
"type":"CONDITIONS",
|
||||
"name":"条件分支",
|
||||
"children":{
|
||||
"id":"node_960218785622",
|
||||
"parentId":"node_960218787447",
|
||||
"type":"EMPTY",
|
||||
"children":{
|
||||
|
||||
}
|
||||
},
|
||||
"branchs":[
|
||||
{
|
||||
"id":"node_960218785354",
|
||||
"parentId":"node_960218787447",
|
||||
"type":"CONDITION",
|
||||
"props":{
|
||||
"groupsType":"OR",
|
||||
"groups":[
|
||||
{
|
||||
"groupType":"AND",
|
||||
"cids":[
|
||||
"root"
|
||||
],
|
||||
"conditions":[
|
||||
{
|
||||
"id":"root",
|
||||
"title":"发起人",
|
||||
"valueType":"User",
|
||||
"compare":"",
|
||||
"value":[
|
||||
{
|
||||
"id":381496,
|
||||
"name":"旅人",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expression":""
|
||||
},
|
||||
"name":"条件1",
|
||||
"children":{
|
||||
"id":"node_960795025221",
|
||||
"parentId":"node_960218785354",
|
||||
"props":{
|
||||
"assignedType":"ASSIGN_USER",
|
||||
"mode":"AND",
|
||||
"sign":false,
|
||||
"nobody":{
|
||||
"handler":"TO_PASS",
|
||||
"assignedUser":[
|
||||
|
||||
]
|
||||
},
|
||||
"timeLimit":{
|
||||
"timeout":{
|
||||
"unit":"H",
|
||||
"value":0
|
||||
},
|
||||
"handler":{
|
||||
"type":"REFUSE",
|
||||
"notify":{
|
||||
"once":true,
|
||||
"hour":1
|
||||
}
|
||||
}
|
||||
},
|
||||
"assignedUser":[
|
||||
{
|
||||
"id":6418616,
|
||||
"name":"张三",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
],
|
||||
"selfSelect":{
|
||||
"multiple":false
|
||||
},
|
||||
"leaderTop":{
|
||||
"endCondition":"TOP",
|
||||
"endLevel":1
|
||||
},
|
||||
"leader":{
|
||||
"level":1
|
||||
},
|
||||
"role":[
|
||||
|
||||
],
|
||||
"refuse":{
|
||||
"type":"TO_END",
|
||||
"target":""
|
||||
},
|
||||
"formUser":""
|
||||
},
|
||||
"type":"APPROVAL",
|
||||
"name":"审批人",
|
||||
"children":{
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id":"node_960218785997",
|
||||
"parentId":"node_960218787447",
|
||||
"type":"CONDITION",
|
||||
"props":{
|
||||
"groupsType":"OR",
|
||||
"groups":[
|
||||
{
|
||||
"groupType":"AND",
|
||||
"cids":[
|
||||
"root"
|
||||
],
|
||||
"conditions":[
|
||||
{
|
||||
"id":"root",
|
||||
"title":"发起人",
|
||||
"valueType":"User",
|
||||
"compare":"",
|
||||
"value":[
|
||||
{
|
||||
"id":6418616,
|
||||
"name":"张三",
|
||||
"type":"user",
|
||||
"selected":false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expression":"2"
|
||||
},
|
||||
"name":"条件2",
|
||||
"children":{
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"parentId":null
|
||||
}
|
||||
@ -1,555 +0,0 @@
|
||||
{
|
||||
"id": "1684995138655_0.5167144294794443_0",
|
||||
"type": "startNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995138655_0.5167144294794443_0",
|
||||
"label": "发起",
|
||||
"type": 0,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "发起",
|
||||
"node_type": "START",
|
||||
"ccer": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_ccer_0"
|
||||
},
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_ccer_1"
|
||||
}
|
||||
],
|
||||
"canCancel": true
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995181659_0.4099499477241211_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995181659_0.4099499477241211_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": false
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "auto",
|
||||
"user": {}
|
||||
},
|
||||
"self_action": 1
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995183355_0.6773240480881357_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995183355_0.6773240480881357_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "dept_manager",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "auto",
|
||||
"user": {}
|
||||
},
|
||||
"self_action": 1
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.03821823577101524_2",
|
||||
"type": "startConditionalNode",
|
||||
"style": {
|
||||
"width": "100px",
|
||||
"height": "30px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.03821823577101524_2",
|
||||
"label": "添加条件",
|
||||
"type": 2,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "",
|
||||
"node_type": "STARTCONDITION"
|
||||
},
|
||||
"endConditionId": "1684995184707_0.06653603429256427_4"
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.21700432119131663_3",
|
||||
"type": "conditionalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.21700432119131663_3",
|
||||
"label": "条件",
|
||||
"type": 3,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "条件",
|
||||
"node_type": "CONDITION",
|
||||
"condition_group": [
|
||||
[
|
||||
{
|
||||
"key": 0.8257921197902618,
|
||||
"type": "user",
|
||||
"value": [
|
||||
{
|
||||
"scope_type": 1,
|
||||
"scope_id": 1,
|
||||
"scope_name": "这是一家企业的根部门"
|
||||
}
|
||||
],
|
||||
"relation": "=",
|
||||
"form_component_id": "user"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"key": 0.51223995888162,
|
||||
"type": "user",
|
||||
"value": [],
|
||||
"relation": "=",
|
||||
"form_component_id": "user"
|
||||
}
|
||||
]
|
||||
],
|
||||
"piority": 1
|
||||
},
|
||||
"startConditionId": "1684995184707_0.03821823577101524_2",
|
||||
"endConditionId": "1684995184707_0.06653603429256427_4",
|
||||
"piority": 1,
|
||||
"lastCondition": false
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.07137265277640426_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.07137265277640426_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "auto",
|
||||
"user": {}
|
||||
},
|
||||
"self_action": 1
|
||||
},
|
||||
"startConditionId": "1684995184707_0.03821823577101524_2",
|
||||
"endConditionId": "1684995184707_0.06653603429256427_4"
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.06653603429256427_4",
|
||||
"type": "endConditionalNode",
|
||||
"style": {
|
||||
"width": "10px",
|
||||
"height": "10px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.06653603429256427_4",
|
||||
"label": "结束条件",
|
||||
"type": 4,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "",
|
||||
"node_type": "ENDCONDITION"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995189636_0.12184176290314253_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995189636_0.12184176290314253_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "user",
|
||||
"user": {
|
||||
"uid": 65560,
|
||||
"name": "张大千"
|
||||
}
|
||||
},
|
||||
"self_action": 1
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995138655_0.6790690673860067_-1",
|
||||
"type": "endNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995138655_0.6790690673860067_-1",
|
||||
"label": "结束",
|
||||
"type": -1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "结束",
|
||||
"node_type": "END",
|
||||
"ccer": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_ccer_0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1684995184707_0.4842665634061263_3",
|
||||
"type": "conditionalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.4842665634061263_3",
|
||||
"label": "条件",
|
||||
"type": 3,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "条件",
|
||||
"node_type": "CONDITION",
|
||||
"condition_group": [],
|
||||
"piority": 2
|
||||
},
|
||||
"startConditionId": "1684995184707_0.03821823577101524_2",
|
||||
"endConditionId": "1684995184707_0.06653603429256427_4",
|
||||
"piority": 2,
|
||||
"lastCondition": true
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.67852541993214_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.67852541993214_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "auto",
|
||||
"user": {}
|
||||
},
|
||||
"self_action": 1
|
||||
},
|
||||
"startConditionId": "1684995184707_0.03821823577101524_2",
|
||||
"endConditionId": "1684995184707_0.06653603429256427_4"
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995184707_0.06653603429256427_4",
|
||||
"type": "endConditionalNode",
|
||||
"style": {
|
||||
"width": "10px",
|
||||
"height": "10px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995184707_0.06653603429256427_4",
|
||||
"label": "结束条件",
|
||||
"type": 4,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "",
|
||||
"node_type": "ENDCONDITION"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995189636_0.12184176290314253_1",
|
||||
"type": "approvalNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995189636_0.12184176290314253_1",
|
||||
"label": "审批",
|
||||
"type": 1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "审批人",
|
||||
"node_type": "TASK",
|
||||
"approve_type": 1,
|
||||
"approver": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_approver_0"
|
||||
}
|
||||
],
|
||||
"ccer": [],
|
||||
"transferable": true,
|
||||
"empty_action": {
|
||||
"type": "user",
|
||||
"user": {
|
||||
"uid": 65560,
|
||||
"name": "张大千"
|
||||
}
|
||||
},
|
||||
"self_action": 1
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "1684995138655_0.6790690673860067_-1",
|
||||
"type": "endNode",
|
||||
"style": {
|
||||
"width": "200px",
|
||||
"height": "70px",
|
||||
"padding": "0",
|
||||
"border": "none"
|
||||
},
|
||||
"data": {
|
||||
"id": "1684995138655_0.6790690673860067_-1",
|
||||
"label": "结束",
|
||||
"type": -1,
|
||||
"nodeInfo": {
|
||||
"node_id": "",
|
||||
"node_name": "结束",
|
||||
"node_type": "END",
|
||||
"ccer": [
|
||||
{
|
||||
"type": "leader",
|
||||
"value": {
|
||||
"step": 1,
|
||||
"reverse": true
|
||||
},
|
||||
"key": "CopyPerson_ccer_0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE xml>
|
||||
<configuration>
|
||||
<!-- 导入安心筑全局日志配置 -->
|
||||
<include resource="logback/logback-axzo.xml" />
|
||||
<!-- 覆盖开发环境日志配置 -->
|
||||
<springProfile name="local,dev">
|
||||
<logger name="cn.axzo" level="DEBUG" />
|
||||
</springProfile>
|
||||
</configuration>
|
||||
Loading…
Reference in New Issue
Block a user