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
d94a1812
Commit
d94a1812
authored
May 28, 2020
by
Water Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize
parent
5906a672
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+2
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/recruit/PractitionerPotentialInfo.java
+11
-0
yd-api/src/main/resources/mapper/customer/AclPractitionerPotentialMapper.xml
+1
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
d94a1812
...
@@ -1098,6 +1098,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1098,6 +1098,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
}
else
if
(
status
==
2
&&
trackStatusId
.
longValue
()
!=
LastStatusId
&&
trackStatusId
.
longValue
()
!=
firstTrackStatusId
){
}
else
if
(
status
==
2
&&
trackStatusId
.
longValue
()
!=
LastStatusId
&&
trackStatusId
.
longValue
()
!=
firstTrackStatusId
){
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
potentialInfoList
.
sort
((
o1
,
o2
)
->
o2
.
getUpdateAt
().
compareTo
(
o1
.
getUpdateAt
()));
}
}
}
else
{
}
else
{
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
getResponseMessage
(
potentialInfoList
,
trackStatusMap
,
recruitSourceMap
,
item
,
remarkMap
,
timeToOnBoardingMap
);
...
@@ -1123,6 +1124,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1123,6 +1124,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
potentialInfo
.
setTrackStatus
(
trackStatusMap
.
get
(
item
.
getTrackStatusId
()));
potentialInfo
.
setTrackStatus
(
trackStatusMap
.
get
(
item
.
getTrackStatusId
()));
potentialInfo
.
setResourceDropMasterName
(
recruitSourceMap
.
get
(
item
.
getResourceDropMasterId
()));
potentialInfo
.
setResourceDropMasterName
(
recruitSourceMap
.
get
(
item
.
getResourceDropMasterId
()));
potentialInfo
.
setTimeToOnboarding
(
CommonUtil
.
dateParseString
(
timeToOnBoardingMap
.
get
(
item
.
getPotentialId
()),
"yyyy-MM-dd"
));
potentialInfo
.
setTimeToOnboarding
(
CommonUtil
.
dateParseString
(
timeToOnBoardingMap
.
get
(
item
.
getPotentialId
()),
"yyyy-MM-dd"
));
potentialInfo
.
setUpdateAt
(
item
.
getUpdateAt
());
potentialInfoList
.
add
(
potentialInfo
);
potentialInfoList
.
add
(
potentialInfo
);
}
}
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/recruit/PractitionerPotentialInfo.java
View file @
d94a1812
package
com
.
yd
.
api
.
practitioner
.
vo
.
recruit
;
package
com
.
yd
.
api
.
practitioner
.
vo
.
recruit
;
import
java.util.Date
;
public
class
PractitionerPotentialInfo
{
public
class
PractitionerPotentialInfo
{
private
Long
potentialId
;
private
Long
potentialId
;
private
String
name
;
private
String
name
;
...
@@ -20,6 +22,7 @@ public class PractitionerPotentialInfo {
...
@@ -20,6 +22,7 @@ public class PractitionerPotentialInfo {
private
String
trackStatus
;
private
String
trackStatus
;
private
Long
trackId
;
private
Long
trackId
;
private
String
createdAt
;
private
String
createdAt
;
private
Date
updateAt
;
private
String
timeToOnboarding
;
private
String
timeToOnboarding
;
public
Long
getPotentialId
()
{
public
Long
getPotentialId
()
{
...
@@ -181,4 +184,12 @@ public class PractitionerPotentialInfo {
...
@@ -181,4 +184,12 @@ public class PractitionerPotentialInfo {
public
void
setTimeToOnboarding
(
String
timeToOnboarding
)
{
public
void
setTimeToOnboarding
(
String
timeToOnboarding
)
{
this
.
timeToOnboarding
=
timeToOnboarding
;
this
.
timeToOnboarding
=
timeToOnboarding
;
}
}
public
Date
getUpdateAt
()
{
return
updateAt
;
}
public
void
setUpdateAt
(
Date
updateAt
)
{
this
.
updateAt
=
updateAt
;
}
}
}
yd-api/src/main/resources/mapper/customer/AclPractitionerPotentialMapper.xml
View file @
d94a1812
...
@@ -310,6 +310,7 @@
...
@@ -310,6 +310,7 @@
p.oss_path_resume ossPathResume,
p.oss_path_resume ossPathResume,
t.track_status_id trackStatusId,
t.track_status_id trackStatusId,
t.id trackId,
t.id trackId,
t.created_at updateAt,
date_format(p.created_at,'%Y-%m-%d') createdAt
date_format(p.created_at,'%Y-%m-%d') createdAt
FROM
FROM
ag_acl_practitioner_potential p
ag_acl_practitioner_potential p
...
...
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