This commit is contained in:
577732344@qq.com
2025-09-23 10:54:46 +08:00
parent e08cbe45d4
commit c23fc9f9f5
31 changed files with 661 additions and 477 deletions

View File

@@ -54,4 +54,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="experience != null "> and experience = #{experience}</if>
</where>
</select>
<select id="selectByJobId" resultType="com.ruoyi.cms.domain.AppUser" parameterType="java.lang.Long">
SELECT * FROM app_user WHERE user_id IN (
select DISTINCT au.USER_ID from APP_USER au
INNER JOIN JOB_APPLY ja ON ja.USER_ID = au.USER_ID
WHERE au.DEL_FLAG = 0 AND ja.DEL_FLAG = 0 AND ja.JOB_Id = #{jobId})
</select>
</mapper>

View File

@@ -19,11 +19,10 @@
<result property="companyNature" column="company_nature" />
<result property="cardOrder" column="card_order" />
<result property="description" column="description" />
<result property="icon" column="icon" />
</resultMap>
<sql id="selectCompanyCardVo">
select company_card_id, name, targ, backgroud_color, del_flag, create_by, create_time, update_by, update_time, remark,status,company_nature,card_order,description,icon from company_card
select company_card_id, name, targ, backgroud_color, del_flag, create_by, create_time, update_by, update_time, remark,status,company_nature,card_order,description from company_card
</sql>
<select id="selectCompanyCardList" parameterType="CompanyCard" resultMap="CompanyCardResult">

View File

@@ -30,14 +30,14 @@
</where>
</select>
<select id="applyJob" resultType="com.ruoyi.cms.domain.Job">
select '2025-4-1' as applyTime,*
from job
where del_flag = 0
and is_publish = 1
and job_id in (SELECT DISTINCT (job_id)
FROM qd.job_apply
where del_flag = 0 and user_id = #{userId}
order by create_time desc)
SELECT ja.create_time AS applyTime, j.*
FROM job j
INNER JOIN job_apply ja ON j.job_id = ja.job_id
WHERE j.del_flag = 0
AND j.is_publish = 1
AND ja.del_flag = 0
AND ja.user_id = #{userId}
ORDER BY ja.create_time DESC
</select>
<select id="candidates" resultType="com.ruoyi.cms.domain.vo.CandidateVO">
SELECT au.*,jc.create_time as apply_date,jc.matching_degree