1.职位发布与管理-添加表(job_contact)补充对应后端代码

2.企业联系人管理-添加表(company_contact)补充对应后台代码
3.岗位管理-添加信用代码、薪酬查询条件
4.用户管理-添加身份证显示(脱敏)、是否录用
5.岗位管理-添加字段岗位类型(疆内、疆外)
This commit is contained in:
sh
2025-09-30 18:32:20 +08:00
parent f8a2ab99e3
commit 39a5c380dd
21 changed files with 487 additions and 10 deletions

View File

@@ -33,10 +33,11 @@
<result property="isExplain" column="is_explain" />
<result property="explainUrl" column="explain_url" />
<result property="cover" column="cover" />
<result property="jobType" column="job_type" />
</resultMap>
<sql id="selectJobVo">
select job_id, job_title, min_salary, max_salary, education, experience, company_name, job_location, posting_date, vacancies, del_flag, create_by, create_time, update_by, update_time, remark, latitude, longitude, "view", company_id , is_hot ,apply_num,is_publish, description,job_location_area_code,data_source,job_url,job_category,is_explain,explain_url,cover from job
select job_id, job_title, min_salary, max_salary, education, experience, company_name, job_location, posting_date, vacancies, del_flag, create_by, create_time, update_by, update_time, remark, latitude, longitude, "view", company_id , is_hot ,apply_num,is_publish, description,job_location_area_code,data_source,job_url,job_category,is_explain,explain_url,cover,job_type from job
</sql>
<insert id="insertBatchRowWork">
INSERT INTO row_work (
@@ -66,7 +67,7 @@
job_title, min_salary, max_salary, education, experience, company_name, job_location,
job_location_area_code, posting_date, vacancies, latitude, longitude, "view", company_id,
is_hot, apply_num, description, is_publish, data_source, job_url, remark, del_flag,
create_by, create_time, row_id, job_category
create_by, create_time, row_id, job_category,jobType
) VALUES
<foreach collection="list" item="job" separator=",">
(
@@ -75,7 +76,7 @@
#{job.vacancies}, #{job.latitude}, #{job.longitude}, #{job.view}, #{job.companyId},
#{job.isHot}, #{job.applyNum}, #{job.description}, #{job.isPublish}, #{job.dataSource},
#{job.jobUrl}, #{job.remark}, #{job.delFlag}, #{job.createBy}, #{job.createTime},
#{job.rowId}, #{job.jobCategory}
#{job.rowId}, #{job.jobCategory},#{job.jobType}
)
</foreach>
</insert>
@@ -134,6 +135,27 @@
<if test="companyId != null "> and company_id = #{companyId}</if>
<if test="isHot != null "> and is_hot = #{isHot}</if>
<if test="applyNum != null "> and apply_num = #{applyNum}</if>
<if test="code != null "> and company_id in(select company_id from company where code=#{code})</if>
<if test="compensation!=null ">
<if test="compensation==0 ">
and min_salary &lt; 1750
</if>
<if test="compensation==1 ">
and max_salary &lt; 2000 and min_salary &gt;= 1750
</if>
<if test="compensation==2 ">
and max_salary &lt; 3000 and min_salary &gt;= 2000
</if>
<if test="compensation==3 ">
and max_salary &lt; 4000 and min_salary &gt;= 3000
</if>
<if test="compensation==4 ">
and max_salary &lt; 5000 and min_salary &gt;= 4000
</if>
<if test="compensation==5 ">
and min_salary &gt; 5000
</if>
</if>
</where>
order by is_explain desc
</select>