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
eb902629
Commit
eb902629
authored
Jun 01, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分pom
parent
35051519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
workflow-engine/src/main/java/com/mortals/flowable/service/FlowTaskServiceImpl.java
...ava/com/mortals/flowable/service/FlowTaskServiceImpl.java
+2
-6
No files found.
workflow-engine/src/main/java/com/mortals/flowable/service/FlowTaskServiceImpl.java
View file @
eb902629
package
com.mortals.flowable.service
;
package
com.mortals.flowable.service
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.mortals.flowable.common.constant.ProcessConstants
;
import
com.mortals.flowable.common.constant.ProcessConstants
;
import
com.mortals.flowable.common.enums.FlowComment
;
import
com.mortals.flowable.common.enums.FlowComment
;
import
com.mortals.flowable.dao.flowable.IFlowableTaskDao
;
import
com.mortals.flowable.dao.flowable.IFlowableTaskDao
;
...
@@ -455,13 +456,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
...
@@ -455,13 +456,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
}
}
buildPerson
(
histIns
.
getTaskId
(),
flowTask
);
buildPerson
(
histIns
.
getTaskId
(),
flowTask
);
flowTask
.
setDuration
(
histIns
.
getDurationInMillis
()
==
null
||
histIns
.
getDurationInMillis
()
==
0
?
null
:
getDate
(
histIns
.
getDurationInMillis
()));
flowTask
.
setDuration
(
histIns
.
getDurationInMillis
()
==
null
||
histIns
.
getDurationInMillis
()
==
0
?
null
:
getDate
(
histIns
.
getDurationInMillis
()));
// 获取意见评论内容
// 获取意见评论内容
// flowTask.setTaskName(histIns.getn);
// flowTask.setTaskName(histIns.getn);
List
<
Comment
>
commentList
=
taskService
.
getProcessInstanceComments
(
histIns
.
getProcessInstanceId
());
List
<
Comment
>
commentList
=
taskService
.
getProcessInstanceComments
(
histIns
.
getProcessInstanceId
());
Boolean
bool1
=
false
;
Boolean
bool1
=
false
;
...
@@ -515,7 +512,6 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
...
@@ -515,7 +512,6 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
if
(!
bool
)
{
if
(!
bool
)
{
continue
;
continue
;
}
}
//获取附件信息
//获取附件信息
List
<
AttachmentEntity
>
attachmentEntities1
=
buildAttachments
(
item
.
getId
());
List
<
AttachmentEntity
>
attachmentEntities1
=
buildAttachments
(
item
.
getId
());
flowTaskPdu
.
setAttachmentList
(
attachmentEntities1
);
flowTaskPdu
.
setAttachmentList
(
attachmentEntities1
);
...
@@ -526,8 +522,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
...
@@ -526,8 +522,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
}
}
rsp
.
setData
(
hisFlowList
);
rsp
.
setData
(
hisFlowList
);
}
}
log
.
info
(
"响应【流程历史流转记录】【响应体】--> "
+
JSONObject
.
toJSONString
(
rsp
));
return
rsp
;
return
rsp
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
rsp
.
setCode
(
YesNoEnum
.
NO
.
getValue
());
rsp
.
setCode
(
YesNoEnum
.
NO
.
getValue
());
rsp
.
setMsg
(
"流程记录异常:"
+
e
.
getMessage
());
rsp
.
setMsg
(
"流程记录异常:"
+
e
.
getMessage
());
...
...
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