1.添加pc端查询求职者列表

2.添加pc录用接口
This commit is contained in:
sh
2025-11-25 13:27:10 +08:00
parent f37508674b
commit 63dc346ca0
10 changed files with 235 additions and 10 deletions

View File

@@ -123,4 +123,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
limit 1
</select>
<select id="selectUserApplyList" parameterType="AppUser" resultType="com.ruoyi.common.core.domain.entity.AppUserShow">
select a.user_id , a.name , a.age , a.sex , get_birth_date_from_id_card ( a.id_card ) as birth_date ,
a.education , a.political_affiliation , a.phone , a.avatar , c.min_salary salaryMin ,c.max_salary salaryMax,a.area ,a.id_card ,
b.job_id ,c.job_title,e.name as company_name,b.hire,b.hire_source,b.create_time,e.company_id
from app_user a
inner join job_apply b on a.user_id = b.user_id and a.del_flag = '0' and b.del_flag = '0'
INNER join job c on b.job_id=c.job_id and c.del_flag='0'
INNER join company e on c.company_id=e.company_id and e.del_flag='0'
<where>
<if test="name != null and name != ''"> and a.name like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
<if test="birthDate != null "> and a.birth_date = #{birthDate}</if>
<if test="education != null and education != ''"> and a.education = #{education}</if>
<if test="politicalAffiliation != null and politicalAffiliation != ''"> and a.political_affiliation = #{politicalAffiliation}</if>
<if test="phone != null and phone != ''"> and a.phone = #{phone}</if>
<if test="idCard != null and idCard != ''"> and a.id_card like concat('%', CAST(#{idCard} AS VARCHAR), '%')</if>
<if test="userId != null"> and a.user_id = #{userId}</if>
</where>
order by b.create_time desc
</select>
</mapper>