|
@@ -120,6 +120,7 @@
|
|
|
jobuser.sex,
|
|
|
jobuser.finishDate,
|
|
|
jobuser.jobStatusID,
|
|
|
+ jobstatus.`Name` as jobStatusName,
|
|
|
keytype.`Name` AS keyTypeName,
|
|
|
TIMESTAMPDIFF(
|
|
|
YEAR,
|
|
@@ -130,7 +131,6 @@
|
|
|
site.SiteName,
|
|
|
area.`Name` AS regionName,
|
|
|
recommendCountData.RecommendedCount,
|
|
|
- mgtEntryState.EntryState,
|
|
|
(
|
|
|
SELECT
|
|
|
JSON_ARRAYAGG( JSON_OBJECT( 'labelID', labelTemp.LabelID, 'labelName', labelTemp.LabelName ) )
|
|
@@ -163,18 +163,8 @@
|
|
|
GROUP BY
|
|
|
job_user.JobUserID
|
|
|
) recommendCountData ON recommendCountData.JobUserID = jobuser.JobUserID
|
|
|
- LEFT JOIN (
|
|
|
- SELECT
|
|
|
- job_user.JobUserID,
|
|
|
- MAX(mgt.EntryState) AS EntryState
|
|
|
- FROM
|
|
|
- pc_jobuser job_user
|
|
|
- LEFT JOIN pc_jobhunt hunt ON job_user.JobUserID = hunt.JobUserID
|
|
|
- LEFT JOIN pc_recommend_mgt mgt ON hunt.JobHuntID = mgt.JobHuntID
|
|
|
- AND mgt.EntryState = 1
|
|
|
- GROUP BY
|
|
|
- job_user.JobUserID
|
|
|
- ) mgtEntryState ON mgtEntryState.JobUserID = jobuser.JobUserID
|
|
|
+ left join sys_dictionary_item jobstatus on jobuser.JobStatusID = jobstatus.value and
|
|
|
+ jobstatus.DictionaryCode='JobStatus'
|
|
|
WHERE 1=1
|
|
|
<if test="keyTypeValue != null">
|
|
|
and keytype.`Value` = #{keyTypeValue}
|