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
25dde9e5
Commit
25dde9e5
authored
Jun 11, 2025
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 广州猫哥饮食文化传播有限公司的主体,总经办的角色换成振兴或者猫哥
parent
bfe861c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+12
-12
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
25dde9e5
...
...
@@ -102,18 +102,18 @@ public class DepartmentCheckState extends CostState {
}
}
//主体广州猫哥饮食文化传播有限公司,审核人陈振兴02【自动审核】金额为5000以下
if
(
"广州猫哥饮食文化传播有限公司"
.
equals
(
costDomain
.
getCompanyName
())
&&
costDomain
.
getCostForm
()
!=
2
)
{
if
(
costCurrentReviewerList
!=
null
&&
costCurrentReviewerList
.
size
()
>
0
)
{
Optional
<
CostCurrentReviewer
>
optionalCostCurrentReviewer
=
costCurrentReviewerList
.
stream
().
filter
(
l
->
l
.
getOaUserId
()
==
5126
).
findFirst
();
if
(
optionalCostCurrentReviewer
.
isPresent
())
{
costCurrentReviewer
=
optionalCostCurrentReviewer
.
get
();
if
(
costDomain
.
getAmountRmb
().
compareTo
(
new
BigDecimal
(
"5000"
))
<
0
)
{
costLogService
.
saveByManage
(
costDomain
.
getCostNo
(),
"人民币金额【"
+
costDomain
.
getAmountRmb
()
+
"】少于设定【5000】审核条件"
,
null
);
shouldAutoCheck
=
true
;
}
}
}
}
//
if ("广州猫哥饮食文化传播有限公司".equals(costDomain.getCompanyName()) && costDomain.getCostForm() != 2) {
//
if (costCurrentReviewerList != null && costCurrentReviewerList.size() > 0) {
//
Optional<CostCurrentReviewer> optionalCostCurrentReviewer = costCurrentReviewerList.stream().filter(l -> l.getOaUserId() == 5126).findFirst();
//
if(optionalCostCurrentReviewer.isPresent()) {
//
costCurrentReviewer = optionalCostCurrentReviewer.get();
//
if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) < 0) {
//
costLogService.saveByManage(costDomain.getCostNo(), "人民币金额【" + costDomain.getAmountRmb() + "】少于设定【5000】审核条件", null);
//
shouldAutoCheck = true;
//
}
//
}
//
}
//
}
if
(
costCurrentReviewer
==
null
||
shouldAutoCheck
)
{
//如果不需要审核 直接通过
DepartmentReviewer
departmentReviewer
=
this
.
getCurrentDepartmentReviewer
(
oaDepartment
.
getDepartmentId
());
...
...
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