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
e5d35bea
Commit
e5d35bea
authored
Jan 04, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
67a0c78b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+2
-2
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
e5d35bea
...
...
@@ -73,7 +73,7 @@ public class DepartmentCheckState extends CostState {
//如果不需要审核 直接通过
DepartmentReviewer
departmentReviewer
=
this
.
getCurrentDepartmentReviewer
(
oaDepartment
.
getDepartmentId
());
if
(!
costTemplate
.
shouldDepartmentCheck
(
costDomain
,
departmentReviewer
.
getAutoReviewAmount
()))
{
if
(
departmentReviewer
!=
null
&&
!
costTemplate
.
shouldDepartmentCheck
(
costDomain
,
departmentReviewer
.
getAutoReviewAmount
()))
{
costDomain
.
setCostStatus
(
CostDomain
.
STATUS_HR_CHECK
);
costDomain
.
setLastModifyDate
(
LocalDateTime
.
now
());
...
...
@@ -177,7 +177,7 @@ public class DepartmentCheckState extends CostState {
CostDomain
costDomain
=
costContext
.
costDomain
;
DepartmentReviewer
departmentReviewer
=
this
.
getCurrentDepartmentReviewer
(
departmentId
);
if
(
departmentReviewer
.
getSecondDepartmentId
()
>
0
)
{
if
(
departmentReviewer
!=
null
&&
departmentReviewer
.
getSecondDepartmentId
()
>
0
)
{
costLogService
.
save
(
costDomain
.
getCostNo
(),
0
,
"匹配二级部门配置:"
+
departmentReviewer
.
getSecondDepartmentName
());
}
...
...
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