修改新增岗位问题,修改上传附件问题
This commit is contained in:
@@ -271,6 +271,7 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
|
||||
* @param job 岗位
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int insertJob(Job job)
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where
|
||||
<if test="longs != null and longs.size() > 0">
|
||||
bussinessid in (
|
||||
<foreach collection="longs" item="oldId" open="(" close=")" separator=",">
|
||||
<foreach collection="longs" item="oldId" separator=",">
|
||||
#{oldId}
|
||||
</foreach>
|
||||
)
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
</select>
|
||||
<select id="selectVectorJob" resultType="com.ruoyi.cms.domain.VectorJob">
|
||||
SELECT
|
||||
ANY_VALUE(job_id) as job_id,
|
||||
j.job_id,
|
||||
j.job_title,
|
||||
ed.dict_label as education,
|
||||
ex.dict_label as experience,
|
||||
@@ -302,15 +302,15 @@
|
||||
ar.dict_label as area,
|
||||
ab.dict_label as nature,
|
||||
ac.dict_label as scale,
|
||||
concat(j.min_salary,"元-",j.max_salary,"元") as salary
|
||||
concat(j.min_salary,'元-',j.max_salary,'元') as salary
|
||||
FROM
|
||||
job as j
|
||||
inner join company as c on c.company_id = j.company_id
|
||||
inner join qd.bussiness_dict_data as ed on ed.dict_type = 'education' and ed.dict_value = j.education
|
||||
inner join qd.bussiness_dict_data as ex on ex.dict_type = 'experience' and ex.dict_value = j.experience
|
||||
left join qd.bussiness_dict_data as ar on ar.dict_type = 'area' and ar.dict_value = j.job_location_area_code
|
||||
left join qd.bussiness_dict_data as ab on ab.dict_type = 'company_nature' and ab.dict_value = c.nature
|
||||
left join qd.bussiness_dict_data as ac on ac.dict_type = 'scale' and ac.dict_value = c.scale
|
||||
inner join bussiness_dict_data as ed on ed.dict_type = 'education' and ed.dict_value = j.education
|
||||
inner join bussiness_dict_data as ex on ex.dict_type = 'experience' and ex.dict_value = j.experience
|
||||
left join bussiness_dict_data as ar on ar.dict_type = 'area' and ar.dict_value = j.job_location_area_code
|
||||
left join bussiness_dict_data as ab on ab.dict_type = 'company_nature' and ab.dict_value = c.nature
|
||||
left join bussiness_dict_data as ac on ac.dict_type = 'scale' and ac.dict_value = c.scale
|
||||
where job_id =#{jobId}
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user