Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzwf
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzwf
提交
e4edb359
提交
e4edb359
编写于
3月 26, 2021
作者:
lengyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作流加签、转办逻辑
上级
6e4a7541
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
8 行删除
+17
-8
WFCoreService.java
...izlab/core/workflow/extensions/service/WFCoreService.java
+15
-6
WFCoreResource.java
...n/java/cn/ibizlab/api/rest/extensions/WFCoreResource.java
+1
-1
ProcFunction.java
...til/src/main/java/cn/ibizlab/util/enums/ProcFunction.java
+1
-1
未找到文件。
ibzwf-core/src/main/java/cn/ibizlab/core/workflow/extensions/service/WFCoreService.java
浏览文件 @
e4edb359
...
@@ -643,9 +643,9 @@ public class WFCoreService
...
@@ -643,9 +643,9 @@ public class WFCoreService
way
.
set
(
"type"
,
ProcFunction
.
BEFORESIGN
.
value
);
way
.
set
(
"type"
,
ProcFunction
.
BEFORESIGN
.
value
);
way
.
setSequenceflowname
(
ProcFunction
.
BEFORESIGN
.
text
);
way
.
setSequenceflowname
(
ProcFunction
.
BEFORESIGN
.
text
);
}
}
else
if
(
funcType
.
equals
(
ProcFunction
.
T
URN
.
value
)){
else
if
(
funcType
.
equals
(
ProcFunction
.
T
RANSFER
.
value
)){
way
.
set
(
"type"
,
ProcFunction
.
T
URN
.
value
);
way
.
set
(
"type"
,
ProcFunction
.
T
RANSFER
.
value
);
way
.
setSequenceflowname
(
ProcFunction
.
T
URN
.
text
);
way
.
setSequenceflowname
(
ProcFunction
.
T
RANSFER
.
text
);
}
}
else
if
(
funcType
.
equals
(
ProcFunction
.
FINISH
.
value
)){
else
if
(
funcType
.
equals
(
ProcFunction
.
FINISH
.
value
)){
way
.
set
(
"type"
,
ProcFunction
.
FINISH
.
value
);
way
.
set
(
"type"
,
ProcFunction
.
FINISH
.
value
);
...
@@ -1389,7 +1389,12 @@ public class WFCoreService
...
@@ -1389,7 +1389,12 @@ public class WFCoreService
if
(
StringUtils
.
isEmpty
(
userId
))
if
(
StringUtils
.
isEmpty
(
userId
))
throw
new
BadRequestAlertException
(
"未传入当前用户"
,
entity
,
businessKey
);
throw
new
BadRequestAlertException
(
"未传入当前用户"
,
entity
,
businessKey
);
Object
signUser
=
taskWay
.
get
(
"srfwfannotator"
);
Map
activedata
;
if
(
taskWay
.
get
(
"activedata"
)!=
null
&&
taskWay
.
get
(
"activedata"
)
instanceof
Map
)
activedata
=(
Map
)
taskWay
.
get
(
"activedata"
);
else
activedata
=
new
LinkedHashMap
();
Object
signUser
=
activedata
.
get
(
"srfwfannotator"
);
if
(
ObjectUtils
.
isEmpty
(
signUser
))
{
if
(
ObjectUtils
.
isEmpty
(
signUser
))
{
throw
new
BadRequestAlertException
(
"未传入加签用户"
,
entity
,
businessKey
);
throw
new
BadRequestAlertException
(
"未传入加签用户"
,
entity
,
businessKey
);
}
}
...
@@ -1420,8 +1425,12 @@ public class WFCoreService
...
@@ -1420,8 +1425,12 @@ public class WFCoreService
String
userId
=
AuthenticationUser
.
getAuthenticationUser
().
getUserid
();
String
userId
=
AuthenticationUser
.
getAuthenticationUser
().
getUserid
();
if
(
StringUtils
.
isEmpty
(
userId
))
if
(
StringUtils
.
isEmpty
(
userId
))
throw
new
BadRequestAlertException
(
"未传入当前用户"
,
entity
,
businessKey
);
throw
new
BadRequestAlertException
(
"未传入当前用户"
,
entity
,
businessKey
);
Map
activedata
;
Object
signUser
=
taskWay
.
get
(
"srfwftransfertor"
);
if
(
taskWay
.
get
(
"activedata"
)!=
null
&&
taskWay
.
get
(
"activedata"
)
instanceof
Map
)
activedata
=(
Map
)
taskWay
.
get
(
"activedata"
);
else
activedata
=
new
LinkedHashMap
();
Object
signUser
=
activedata
.
get
(
"srfwftransferor"
);
if
(
ObjectUtils
.
isEmpty
(
signUser
))
{
if
(
ObjectUtils
.
isEmpty
(
signUser
))
{
throw
new
BadRequestAlertException
(
"未传入转办用户"
,
entity
,
businessKey
);
throw
new
BadRequestAlertException
(
"未传入转办用户"
,
entity
,
businessKey
);
}
}
...
...
ibzwf-provider/ibzwf-provider-api/src/main/java/cn/ibizlab/api/rest/extensions/WFCoreResource.java
浏览文件 @
e4edb359
...
@@ -265,7 +265,7 @@ public class WFCoreResource
...
@@ -265,7 +265,7 @@ public class WFCoreResource
}
}
@ApiOperation
(
value
=
"后加签任务"
,
tags
=
{
"工作流后加签任务"
},
notes
=
"前加签任务"
)
@ApiOperation
(
value
=
"后加签任务"
,
tags
=
{
"工作流后加签任务"
},
notes
=
"前加签任务"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/{system}-app-{appname}/{entity}/{businessKey}/tasks/{taskId}/
aftersign
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/{system}-app-{appname}/{entity}/{businessKey}/tasks/{taskId}/
transfer
"
)
public
ResponseEntity
<
Boolean
>
afterSign
(
@PathVariable
(
"system"
)
String
system
,
@PathVariable
(
"appname"
)
String
appname
,
public
ResponseEntity
<
Boolean
>
afterSign
(
@PathVariable
(
"system"
)
String
system
,
@PathVariable
(
"appname"
)
String
appname
,
@PathVariable
(
"entity"
)
String
entity
,
@PathVariable
(
"entity"
)
String
entity
,
@PathVariable
(
"businessKey"
)
String
businessKey
,
@PathVariable
(
"taskId"
)
String
taskId
,
@PathVariable
(
"businessKey"
)
String
businessKey
,
@PathVariable
(
"taskId"
)
String
taskId
,
...
...
ibzwf-util/src/main/java/cn/ibizlab/util/enums/ProcFunction.java
浏览文件 @
e4edb359
...
@@ -15,7 +15,7 @@ public enum ProcFunction {
...
@@ -15,7 +15,7 @@ public enum ProcFunction {
/**
/**
* 转办
* 转办
*/
*/
T
URN
(
"turn
"
,
"转办"
),
T
RANSFER
(
"transfer
"
,
"转办"
),
/**
/**
* 加签完成
* 加签完成
*/
*/
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录