Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yx-qc-change-flow
yanxuan-qc-change-system
Commits
9234190f
Commit
9234190f
authored
Jan 16, 2026
by
王志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: 催办
parent
1892f990
Pipeline
#88202
passed with stages
in 1 minute 49 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+4
-4
AppConfig.java
...com/netease/mail/yanxuan/change/biz/config/AppConfig.java
+7
-0
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
9234190f
...
@@ -2222,7 +2222,7 @@ public class ChangeFlowBiz {
...
@@ -2222,7 +2222,7 @@ public class ChangeFlowBiz {
||
ChangeFlowEnum
.
CHANGE_SUB_FLOW_SUBMIT
.
getNodeId
().
equals
(
subFlowNode
)
||
ChangeFlowEnum
.
CHANGE_SUB_FLOW_SUBMIT
.
getNodeId
().
equals
(
subFlowNode
)
||
ChangeFlowEnum
.
CHANGE_SUB_FLOW_EXE
.
getNodeId
().
equals
(
subFlowNode
))
{
||
ChangeFlowEnum
.
CHANGE_SUB_FLOW_EXE
.
getNodeId
().
equals
(
subFlowNode
))
{
Long
subFlowUpdateTime
=
subFlow
.
getUpdateTime
();
Long
subFlowUpdateTime
=
subFlow
.
getUpdateTime
();
if
(
subFlowUpdateTime
!=
null
&&
isOverdueByWorkdays
(
subFlowUpdateTime
,
currentTime
,
2
))
{
if
(
isOverdueByWorkdays
(
subFlowUpdateTime
,
currentTime
,
appConfig
.
getOverdueWorkdays
()
))
{
isOverdue
=
true
;
isOverdue
=
true
;
break
;
break
;
}
}
...
@@ -2235,7 +2235,7 @@ public class ChangeFlowBiz {
...
@@ -2235,7 +2235,7 @@ public class ChangeFlowBiz {
String
subFlowNode
=
subFlow
.
getSubFlowNode
();
String
subFlowNode
=
subFlow
.
getSubFlowNode
();
if
(
ChangeFlowEnum
.
CHANGE_SUB_FLOW_CONFIRM
.
getNodeId
().
equals
(
subFlowNode
))
{
if
(
ChangeFlowEnum
.
CHANGE_SUB_FLOW_CONFIRM
.
getNodeId
().
equals
(
subFlowNode
))
{
Long
subFlowUpdateTime
=
subFlow
.
getUpdateTime
();
Long
subFlowUpdateTime
=
subFlow
.
getUpdateTime
();
if
(
subFlowUpdateTime
!=
null
&&
isOverdueByWorkdays
(
subFlowUpdateTime
,
currentTime
,
2
))
{
if
(
isOverdueByWorkdays
(
subFlowUpdateTime
,
currentTime
,
appConfig
.
getOverdueWorkdays
()
))
{
isOverdue
=
true
;
isOverdue
=
true
;
break
;
break
;
}
}
...
@@ -2372,10 +2372,10 @@ public class ChangeFlowBiz {
...
@@ -2372,10 +2372,10 @@ public class ChangeFlowBiz {
return
false
;
return
false
;
}
}
// 判断行动项的 changeExecFinishTime 是否超过
两个工作日
// 判断行动项的 changeExecFinishTime 是否超过
配置的工作日数
for
(
ChangeExecRecord
execRecord
:
subFlowExecRecords
)
{
for
(
ChangeExecRecord
execRecord
:
subFlowExecRecords
)
{
Long
changeExecFinishTime
=
execRecord
.
getChangeExecFinishTime
();
Long
changeExecFinishTime
=
execRecord
.
getChangeExecFinishTime
();
if
(
changeExecFinishTime
!=
null
&&
isOverdueByWorkdays
(
changeExecFinishTime
,
currentTime
,
2
))
{
if
(
isOverdueByWorkdays
(
changeExecFinishTime
,
currentTime
,
appConfig
.
getOverdueWorkdays
()
))
{
return
true
;
// 只要有一个行动项超期,该行动工单就需要催办
return
true
;
// 只要有一个行动项超期,该行动工单就需要催办
}
}
}
}
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/AppConfig.java
View file @
9234190f
...
@@ -123,4 +123,10 @@ public class AppConfig {
...
@@ -123,4 +123,10 @@ public class AppConfig {
*/
*/
@ValueMapping
(
"${changeSubflowNeedApproveDepartments:[]}"
)
@ValueMapping
(
"${changeSubflowNeedApproveDepartments:[]}"
)
private
List
<
String
>
needApproveDepartments
;
private
List
<
String
>
needApproveDepartments
;
/**
* 工单超期判断的工作日数(默认2天)
*/
@Value
(
"${change.overdue.workdays:2}"
)
private
Integer
overdueWorkdays
;
}
}
\ 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