Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-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
bltdc
dc-cost-system
Commits
efda38a7
Commit
efda38a7
authored
Jan 08, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6721e693
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+8
-3
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
efda38a7
...
...
@@ -163,11 +163,16 @@ public class DepartmentCheckState extends CostState {
DepartmentChain
departmentChain
=
this
.
getDepartmentChain
(
new
DepartmentChain
(
departmentId
));
DepartmentReviewer
departmentReviewer
;
DepartmentReviewer
primaryDepartmentReviewer
=
departmentReviewerMapper
.
selectByPrimaryDepartmentId
(
departmentChain
.
getDepartmentId
());
DepartmentReviewer
primaryDepartmentReviewe
=
null
;
DepartmentReviewer
secondDepartmentReviewer
=
null
;
primaryDepartmentReviewe
=
departmentReviewerMapper
.
selectByPrimaryDepartmentId
(
departmentChain
.
getDepartmentId
());
if
(
departmentChain
.
getNext
()
!=
null
)
{
departmentReviewer
=
departmentReviewerMapper
.
selectBySecondDepartmentId
(
departmentChain
.
next
.
getDepartmentId
());
secondDepartmentReviewer
=
departmentReviewerMapper
.
selectBySecondDepartmentId
(
departmentChain
.
next
.
getDepartmentId
());
}
if
(
secondDepartmentReviewer
!=
null
)
{
departmentReviewer
=
secondDepartmentReviewer
;
}
else
{
departmentReviewer
=
primaryDepartmentReviewe
r
;
departmentReviewer
=
primaryDepartmentReviewe
;
}
if
(
departmentReviewer
==
null
)
{
throw
new
BizRuntimeException
(
"请联系管理员添加部门审核人配置"
);
...
...
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