添加微信抓取判重的方法
This commit is contained in:
@@ -331,4 +331,22 @@
|
||||
left join company as c on c.company_id = j.company_id and j.del_flag='0' and j.job_id=#{jobId}
|
||||
and c.del_flag='0' limit 1
|
||||
</select>
|
||||
|
||||
<select id="getTotals" parameterType="Job" resultType="java.lang.Integer">
|
||||
select count(job_id) as total_count from job
|
||||
<where> del_flag = '0'
|
||||
<if test="companyName != null and companyName != ''"> and company_name =#{companyName}</if>
|
||||
<if test="dataSource != null and dataSource!='' "> and data_source = #{dataSource}</if>
|
||||
<if test="description != null and description!='' "> and description = #{description}</if>
|
||||
<if test="education != null and education != ''"> and education = #{education}</if>
|
||||
<if test="experience != null and experience != ''"> and experience = #{experience}</if>
|
||||
<if test="isPublish != null "> and is_publish = #{isPublish}</if>
|
||||
<if test="jobLocation != null and jobLocation != ''"> and job_location = #{jobLocation}</if>
|
||||
<if test="jobTitle != null and jobTitle != ''"> and job_title = #{jobTitle}</if>
|
||||
<if test="minSalary != null "> and min_salary = #{minSalary}</if>
|
||||
<if test="maxSalary != null "> and max_salary = #{maxSalary}</if>
|
||||
<if test="vacancies != null "> and vacancies = #{vacancies}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user