1.给浪潮添加岗位申请、录用接口

This commit is contained in:
sh
2025-11-25 14:40:43 +08:00
parent 63dc346ca0
commit a9822c34fe
9 changed files with 86 additions and 7 deletions

View File

@@ -126,7 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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
b.job_id ,c.job_title,e.name as company_name,b.hire,b.hire_source,b.create_time,e.company_id,b.id as apply_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'

View File

@@ -15,6 +15,8 @@
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="hire" column="hire" />
<result property="hireSource" column="hire_source" />
</resultMap>
<sql id="selectJobApplyVo">
@@ -124,4 +126,8 @@
</where>
</select>
<update id="updateJobZphApply" parameterType="JobApply">
update job_apply set update_time=sysdate(),update_by=#{updateBy},hire=#{hire},hire_source=#{hireSource} where user_id=#{userId} AND job_id=#{jobId}
</update>
</mapper>