This commit is contained in:
577732344@qq.com
2025-09-24 12:16:23 +08:00
parent 14bbeead60
commit bb3bc5b701

View File

@@ -36,7 +36,7 @@
</resultMap> </resultMap>
<sql id="selectJobVo"> <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 from job
</sql> </sql>
<insert id="insertBatchRowWork"> <insert id="insertBatchRowWork">
INSERT INTO row_work ( INSERT INTO row_work (
@@ -64,7 +64,7 @@
<insert id="batchInsert"> <insert id="batchInsert">
INSERT INTO job ( INSERT INTO job (
job_title, min_salary, max_salary, education, experience, company_name, job_location, job_title, min_salary, max_salary, education, experience, company_name, job_location,
job_location_area_code, posting_date, vacancies, latitude, longitude, "VIEW", company_id, 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, 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
) VALUES ) VALUES
@@ -110,7 +110,7 @@
from( from(
SELECT job_id SELECT job_id
FROM job FROM job
ORDER BY "VIEW" DESC ORDER BY "view" DESC
LIMIT 10) LIMIT 10)
as b as b
); );
@@ -130,7 +130,7 @@
<if test="vacancies != null "> and vacancies = #{vacancies}</if> <if test="vacancies != null "> and vacancies = #{vacancies}</if>
<if test="latitude != null "> and latitude = #{latitude}</if> <if test="latitude != null "> and latitude = #{latitude}</if>
<if test="longitude != null "> and longitude = #{longitude}</if> <if test="longitude != null "> and longitude = #{longitude}</if>
<if test="view != null "> and "VIEW" = #{view}</if> <if test="view != null "> and "view" = #{view}</if>
<if test="companyId != null "> and company_id = #{companyId}</if> <if test="companyId != null "> and company_id = #{companyId}</if>
<if test="isHot != null "> and is_hot = #{isHot}</if> <if test="isHot != null "> and is_hot = #{isHot}</if>
<if test="applyNum != null "> and apply_num = #{applyNum}</if> <if test="applyNum != null "> and apply_num = #{applyNum}</if>
@@ -151,7 +151,7 @@
<if test="vacancies != null "> and vacancies = #{vacancies}</if> <if test="vacancies != null "> and vacancies = #{vacancies}</if>
<if test="latitude != null "> and latitude = #{latitude}</if> <if test="latitude != null "> and latitude = #{latitude}</if>
<if test="longitude != null "> and longitude = #{longitude}</if> <if test="longitude != null "> and longitude = #{longitude}</if>
<if test="view != null "> and "VIEW" = #{view}</if> <if test="view != null "> and "view" = #{view}</if>
<if test="companyId != null "> and company_id = #{companyId}</if> <if test="companyId != null "> and company_id = #{companyId}</if>
<if test="isHot != null "> and is_hot = #{isHot}</if> <if test="isHot != null "> and is_hot = #{isHot}</if>
<if test="applyNum != null "> and apply_num = #{applyNum}</if> <if test="applyNum != null "> and apply_num = #{applyNum}</if>