Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
workflow-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
workflow-platform
Commits
d392b49b
Commit
d392b49b
authored
May 28, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分pom
parent
59159a68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
workflow-engine/src/main/java/com/mortals/flowable/service/FlowTaskServiceImpl.java
...ava/com/mortals/flowable/service/FlowTaskServiceImpl.java
+7
-6
workflow-engine/src/main/resources/config/mybatis-sqlmap-config.xml
...ngine/src/main/resources/config/mybatis-sqlmap-config.xml
+5
-0
No files found.
workflow-engine/src/main/java/com/mortals/flowable/service/FlowTaskServiceImpl.java
View file @
d392b49b
...
...
@@ -25,6 +25,7 @@ import com.mortals.xhx.module.comment.service.CommentInfoService;
import
com.mortals.xhx.module.extend.model.ExtendHisprocinstEntity
;
import
com.mortals.xhx.module.extend.service.ExtendHisprocinstService
;
import
lombok.extern.apachecommons.CommonsLog
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.MapUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
...
...
@@ -64,7 +65,7 @@ import java.util.stream.Collectors;
* @description:
**/
@RestController
@
CommonsLog
@
Slf4j
public
class
FlowTaskServiceImpl
extends
FlowServiceFactory
implements
IApiFlowTaskFeign
{
@Autowired
...
...
@@ -329,7 +330,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
@Override
public
ApiRespPdu
<
Result
<
FlowTaskPdu
>>
todoList
(
CommonTaskReq
req
)
{
PageInfo
pageInfo
=
req
.
getPageInfo
();
log
.
info
(
String
.
format
(
"查询我的代办列表!query userCode:%s,tenantId:%s,PageInfo:%s"
,
req
.
getUserCode
(),
req
.
getPlatformSn
(),
JSON
.
toJSONString
(
pageInfo
)
));
log
.
info
(
"查询我的代办列表!query userCode:{},tenantId:{},req:{}"
,
req
.
getUserCode
(),
req
.
getPlatformSn
(),
JSON
.
toJSONString
(
req
));
ApiRespPdu
<
Result
<
FlowTaskPdu
>>
rsp
=
new
ApiRespPdu
<>();
Result
<
FlowTaskPdu
>
result
=
new
Result
<>();
rsp
.
setCode
(
YesNoEnum
.
YES
.
getValue
());
...
...
@@ -363,7 +364,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
result
.
setList
(
applyedTasks
);
result
.
setPageInfo
(
pageInfo
);
rsp
.
setData
(
result
);
log
.
info
(
String
.
format
(
"查询我的代办列表!resp:%s"
,
JSON
.
toJSONString
(
rsp
)
));
log
.
info
(
"查询我的代办列表!resp:{}"
,
JSON
.
toJSONString
(
rsp
));
return
rsp
;
}
catch
(
Exception
e
)
{
log
.
error
(
"异常:"
,
e
);
...
...
@@ -550,7 +551,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
@Override
public
ApiRespPdu
<
Map
<
String
,
Object
>>
processVariables
(
CommonTaskReq
req
)
{
log
.
info
(
String
.
format
(
"获取流程变量!taskId:%s"
,
req
.
getTaskId
()
));
log
.
info
(
"获取流程变量!taskId:{}"
,
req
.
getTaskId
(
));
ApiRespPdu
<
Map
<
String
,
Object
>>
rsp
=
new
ApiRespPdu
<>();
rsp
.
setCode
(
YesNoEnum
.
YES
.
getValue
());
try
{
...
...
@@ -576,7 +577,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
@Override
public
ApiRespPdu
<
String
>
setProcessVariables
(
CommonTaskReq
req
)
{
log
.
info
(
String
.
format
(
"设置流程变量!taskId:%s"
,
req
.
getTaskId
()
));
log
.
info
(
"设置流程变量!taskId:{}"
,
req
.
getTaskId
(
));
ApiRespPdu
<
String
>
rsp
=
new
ApiRespPdu
<>();
rsp
.
setCode
(
YesNoEnum
.
YES
.
getValue
());
try
{
...
...
@@ -592,7 +593,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
@Override
public
ApiRespPdu
<
String
>
complete
(
CompleteTaskReq
completeTaskReq
)
{
log
.
info
(
String
.
format
(
"完成任务!completeTaskReq:%s"
,
JSON
.
toJSONString
(
completeTaskReq
)
));
log
.
info
(
"完成任务!completeTaskReq:{}"
,
JSON
.
toJSONString
(
completeTaskReq
));
//todo 完成加签流程 完成任务 携带附件信息
ApiRespPdu
<
String
>
rsp
=
new
ApiRespPdu
<>(
YesNoEnum
.
YES
.
getValue
(),
"审批成功"
);
try
{
...
...
workflow-engine/src/main/resources/config/mybatis-sqlmap-config.xml
View file @
d392b49b
...
...
@@ -16,5 +16,10 @@
<property
name=
"dialect"
value=
"MySql"
/>
<property
name=
"showSql"
value=
"MySql"
/>
</plugin>
<plugin
interceptor=
"com.mortals.framework.thirty.mybatis.LogInterceptor"
>
<property
name=
"enableExecutorTime"
value=
"true"
/>
<property
name=
"showSql"
value=
"true"
/>
</plugin>
</plugins>
</configuration>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment