diff --git a/ruoyi-bussiness/src/main/resources/mapper/app/JobMapper.xml b/ruoyi-bussiness/src/main/resources/mapper/app/JobMapper.xml index f7b307f..bd52bcb 100644 --- a/ruoyi-bussiness/src/main/resources/mapper/app/JobMapper.xml +++ b/ruoyi-bussiness/src/main/resources/mapper/app/JobMapper.xml @@ -36,7 +36,7 @@ - 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 INSERT INTO row_work ( @@ -64,7 +64,7 @@ INSERT INTO job ( 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, create_by, create_time, row_id, job_category ) VALUES @@ -110,7 +110,7 @@ from( SELECT job_id FROM job - ORDER BY "VIEW" DESC + ORDER BY "view" DESC LIMIT 10) as b ); @@ -130,7 +130,7 @@ and vacancies = #{vacancies} and latitude = #{latitude} and longitude = #{longitude} - and "VIEW" = #{view} + and "view" = #{view} and company_id = #{companyId} and is_hot = #{isHot} and apply_num = #{applyNum} @@ -151,7 +151,7 @@ and vacancies = #{vacancies} and latitude = #{latitude} and longitude = #{longitude} - and "VIEW" = #{view} + and "view" = #{view} and company_id = #{companyId} and is_hot = #{isHot} and apply_num = #{applyNum}