Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
27ee39b9
Commit
27ee39b9
authored
Jan 13, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ydLife审批报错
parent
31617862
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
+5
-5
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
View file @
27ee39b9
...
...
@@ -502,14 +502,14 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
//当approvalIdentity=0时需要保存两条记录
if
(
approvalIdentity
==
0L
||
approvalIdentity
==
1L
){
boolean
hasStepSeq
=
addStepToList
(
requestVO
,
1
,
hiringApproveStepsList
,
hiringApproveRecordsList
);
if
(
hasStepSeq
)
{
if
(
!
hasStepSeq
)
{
responseVO
.
setCommonResult
(
new
CommonResult
(
false
,
ZHBErrorConfig
.
getErrorInfo
(
"830025"
)));
return
responseVO
;
}
}
if
(
approvalIdentity
==
0L
||
approvalIdentity
==
2L
){
boolean
hasStepSeq
=
addStepToList
(
requestVO
,
2
,
hiringApproveStepsList
,
hiringApproveRecordsList
);
if
(
hasStepSeq
)
{
if
(
!
hasStepSeq
)
{
responseVO
.
setCommonResult
(
new
CommonResult
(
false
,
ZHBErrorConfig
.
getErrorInfo
(
"830025"
)));
return
responseVO
;
}
...
...
@@ -632,9 +632,9 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
int
stepSeq
,
List
<
MdPractitionerHiringApproveSteps
>
hiringApproveStepsList
,
List
<
AclPractitionerHiringApproveRecords
>
hiringApproveRecordsList
)
{
BeanPropertyValueEqualsPredicate
predicate
=
new
BeanPropertyValueEqualsPredicate
(
"stepSeq"
,
stepSeq
);
List
<
MdPractitionerHiringApproveSteps
>
steps
=
(
List
<
MdPractitionerHiringApproveSteps
>)
CollectionUtils
.
select
(
hiringApproveStepsList
,
predicate
);
if
(
steps
.
size
()
!=
1
){
BeanPropertyValueEqualsPredicate
predicate
=
new
BeanPropertyValueEqualsPredicate
(
"stepSeq"
,
stepSeq
);
List
<
MdPractitionerHiringApproveSteps
>
steps
=
(
List
<
MdPractitionerHiringApproveSteps
>)
CollectionUtils
.
select
(
hiringApproveStepsList
,
predicate
);
if
(
steps
.
size
()
!=
1
)
{
return
false
;
}
AclPractitionerHiringApproveRecords
records
=
new
AclPractitionerHiringApproveRecords
();
...
...
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