|
@@ -6,15 +6,16 @@
|
|
|
post.postID,post.workCode,post.workName,post.recruitCount,post.companyID,post.postName,post.recordStatus,post.workNature,post.validDay,
|
|
|
post.workYear,post.cultureRank,post.postDesc,post.maxSalary,post.minSalary,post.welfare,post.postEmail,post.workTime,post.isTrail,post.trailMonths,
|
|
|
post.TrailMaxSalary,post.trailMinSalary,post.createUserID,post.createTime,post.modifyUserID,post.modifyTime,post.validTime,post.startTime,post.endTime,
|
|
|
+ post.contactName,post.contactMobile,post.contactEmail,
|
|
|
post.jobPlace,post.contactName,post.contactMobile,post.contactEmail,post.workNatureID,post.tagID,company.userName,company.userMobile,company.companyEmail,
|
|
|
- company.CompanyName,company.insuredCount,item.`Name` as cultureLevelName,job_hunt_type.Name as workNatureName,
|
|
|
+ company.CompanyName,company.insuredCount,item.`Name` as cultureLevelName,work_nature.Name as workNatureName,
|
|
|
post.ProfessionID,pro.ProfessionName,pro.parentProfessionID
|
|
|
, IFNULL(count(rmgt.RecommendMgtID),0) as recommendNum
|
|
|
from pc_post post
|
|
|
left join pc_company company on post.CompanyID = company.CompanyID
|
|
|
left join sys_dictionary_item item on item.value=post.CultureRank and item.DictionaryCode='CultureLevel'
|
|
|
- left join sys_dictionary_item job_hunt_type on job_hunt_type.value=post.WorkNatureID and
|
|
|
- job_hunt_type.DictionaryCode='JobHuntType'
|
|
|
+ left join sys_dictionary_item work_nature on work_nature.value=post.WorkNatureID and
|
|
|
+ work_nature.DictionaryCode='WorkNature'
|
|
|
left join pc_profession pro on post.ProfessionID = pro.ProfessionID
|
|
|
left join pc_recommend_mgt rmgt on post.PostID = rmgt.PostID
|
|
|
<where>
|