|
|
|
|
@@ -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>
|
|
|
|
|
|