Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
huluobin
bailuntec-cost
Commits
89f38d59
Commit
89f38d59
authored
Jan 23, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
fda760ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+2
-2
FinalCheckState.java
...r/module/cost/service/impl/costcheck/FinalCheckState.java
+1
-1
FinancialCheckState.java
...dule/cost/service/impl/costcheck/FinancialCheckState.java
+1
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
89f38d59
...
@@ -87,7 +87,7 @@ public class DepartmentCheckState extends CostState {
...
@@ -87,7 +87,7 @@ public class DepartmentCheckState extends CostState {
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"部门审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"部门审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
.
collect
(
Collectors
.
joining
()),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
.
collect
(
Collectors
.
joining
(
","
)),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
//流转状态
//流转状态
nextState
(
hrCheckState
);
nextState
(
hrCheckState
);
...
@@ -105,7 +105,7 @@ public class DepartmentCheckState extends CostState {
...
@@ -105,7 +105,7 @@ public class DepartmentCheckState extends CostState {
costDao
.
updateById
(
costDomain
);
costDao
.
updateById
(
costDomain
);
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"部门审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"部门审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
.
collect
(
Collectors
.
joining
()),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
.
collect
(
Collectors
.
joining
(
","
)),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
//流转状态
//流转状态
nextState
(
hrCheckState
);
nextState
(
hrCheckState
);
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/FinalCheckState.java
View file @
89f38d59
...
@@ -47,7 +47,7 @@ public class FinalCheckState extends CostState {
...
@@ -47,7 +47,7 @@ public class FinalCheckState extends CostState {
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"最终审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"最终审核自动通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
.
collect
(
Collectors
.
joining
()),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
.
collect
(
Collectors
.
joining
(
","
)),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
//流转状态
//流转状态
nextState
(
unPayState
);
nextState
(
unPayState
);
//通知财务系统
//通知财务系统
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/FinancialCheckState.java
View file @
89f38d59
...
@@ -64,7 +64,7 @@ public class FinancialCheckState extends CostState {
...
@@ -64,7 +64,7 @@ public class FinancialCheckState extends CostState {
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
List
<
CostCurrentReviewer
>
costCurrentReviewerList
=
costCurrentReviewerMapper
.
selectByCostNo
(
costDomain
.
getCostNo
());
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"财务自动审核通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"财务自动审核通过,当前审核人:"
+
costCurrentReviewerList
.
stream
().
map
(
CostCurrentReviewer:
:
getUsername
)
.
collect
(
Collectors
.
joining
()),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
.
collect
(
Collectors
.
joining
(
","
)),
CostLogDomain
.
DEPARTMENT_AUTO_PASS
);
//流转状态
//流转状态
nextState
(
finalCheckState
);
nextState
(
finalCheckState
);
//发布到总线尝试下个环节的自动审核
//发布到总线尝试下个环节的自动审核
...
...
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