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
d508efaf
Commit
d508efaf
authored
Jun 29, 2022
by
wenyang
Committed by
jianan
Jun 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AGMS增加经纪人报聘信息的查询与导出,在原有‘审批流程’页面上增加查询条件(申请开始日期,申请结束日期)
parent
876fdb5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
+5
-3
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
+7
-3
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
View file @
d508efaf
...
@@ -430,11 +430,13 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
...
@@ -430,11 +430,13 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
PractitionerHiringListInfo
info
=
practitionerHiringListInfos
.
get
(
i
);
//遍历每个对象
PractitionerHiringListInfo
info
=
practitionerHiringListInfos
.
get
(
i
);
//遍历每个对象
buf
.
append
(
i
+
1
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
i
+
1
).
append
(
CSV_COLUMN_SEPARATOR
);
if
(
"0"
.
equals
(
info
.
getStatus
())){
if
(
"0"
.
equals
(
info
.
getStatus
())){
buf
.
append
(
"
待审批
"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"
拒绝
"
).
append
(
CSV_COLUMN_SEPARATOR
);
}
else
if
(
"1"
.
equals
(
info
.
getStatus
())){
}
else
if
(
"1"
.
equals
(
info
.
getStatus
())){
buf
.
append
(
"通过"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"通过"
).
append
(
CSV_COLUMN_SEPARATOR
);
}
else
if
(
"2"
.
equals
(
info
.
getStatus
())){
}
else
if
(
info
.
getStatus
()
==
null
){
buf
.
append
(
"拒绝"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"待审批"
).
append
(
CSV_COLUMN_SEPARATOR
);
}
else
{
buf
.
append
(
info
.
getStatus
()).
append
(
CSV_COLUMN_SEPARATOR
);
}
}
buf
.
append
(
info
.
getApprovingTime
()
==
null
?
""
:
info
.
getApprovingTime
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getApprovingTime
()
==
null
?
""
:
info
.
getApprovingTime
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getName
()
==
null
?
""
:
info
.
getName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getName
()
==
null
?
""
:
info
.
getName
()).
append
(
CSV_COLUMN_SEPARATOR
);
...
...
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
View file @
d508efaf
...
@@ -350,8 +350,12 @@
...
@@ -350,8 +350,12 @@
#{approveStatus} as status,
#{approveStatus} as status,
(select max(r.created_at) from ag_acl_practitioner_hiring_approve_records r where r.hiring_basic_info_id = b.id ) as approvingTime
(select max(r.created_at) from ag_acl_practitioner_hiring_approve_records r where r.hiring_basic_info_id = b.id ) as approvingTime
</when>
</when>
<when
test=
'approveStatus != "1" '
>
<when
test=
'approveStatus == "0" '
>
#{approveStatus} as status,
null as status,
null as approvingTime
</when>
<when
test=
'approveStatus == "2" '
>
'0' as status,
null as approvingTime
null as approvingTime
</when>
</when>
</choose>
</choose>
...
@@ -363,7 +367,7 @@
...
@@ -363,7 +367,7 @@
<if
test=
"approveStatus != null"
>
<if
test=
"approveStatus != null"
>
<choose>
<choose>
<when
test=
'approveStatus == "0" '
>
<when
test=
'approveStatus == "0" '
>
and
b.approve_status not in ('0' , '2'
)
and
(b.approve_status not in ('0' , '-1') or b.approve_status is null
)
</when>
</when>
<when
test=
'approveStatus == "1" '
>
<when
test=
'approveStatus == "1" '
>
and b.approve_status = '0'
and b.approve_status = '0'
...
...
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