1.job表添加pass和passReason字典

2.修改企业es排序,未发布放最上面
This commit is contained in:
sh
2026-01-28 17:41:40 +08:00
parent 6f08d63278
commit 5146b4e221
5 changed files with 27 additions and 6 deletions

View File

@@ -37,6 +37,8 @@
<result property="jobAddress" column="job_address" />
<result property="regionCode" column="region_code" />
<result property="staffType" column="staff_type" />
<result property="pass" column="pass" />
<result property="passReason" column="pass_reason" />
</resultMap>
@@ -83,6 +85,8 @@
<result property="jobAddress" column="job_address" />
<result property="regionCode" column="region_code" />
<result property="staffType" column="staff_type" />
<result property="pass" column="pass" />
<result property="passReason" column="pass_reason" />
<association property="companyVo" resultMap="CompanyResult"/>
</resultMap>
@@ -101,7 +105,7 @@
</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,job_type,job_address,region_code,staff_type 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,job_address,region_code,staff_type,pass,pass_reason from job
</sql>
<insert id="insertBatchRowWork">
INSERT INTO row_work (
@@ -131,7 +135,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,job_type,type,job_address,region_code,staff_type
create_by, create_time, row_id, job_category,job_type,type,job_address,region_code,staff_type,pass,pass_reason
) VALUES
<foreach collection="list" item="job" separator=",">
(
@@ -141,7 +145,7 @@
#{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.jobType},#{job.type},#{job.jobAddress},
#{job.regionCode},#{job.staffType}
#{job.regionCode},#{job.staffType},#{job.pass},#{job.passReason}
)
</foreach>
</insert>
@@ -359,7 +363,8 @@
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,job_type,type,job_address,region_code,staff_type
create_by, create_time, row_id, job_category,job_type,type,job_address,region_code,
staff_type,pass,pass_reason
) VALUES
<foreach collection="list" item="job" separator=",">
(
@@ -369,7 +374,7 @@
#{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.jobType},#{job.type},#{job.jobAddress},
#{job.regionCode},#{job.staffType}
#{job.regionCode},#{job.staffType},#{job.pass},#{job.passReason}
)
</foreach>
</insert>