2025-02-18 14:15:00 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.ruoyi.bgt.mapper.BgtProjectRecruitApplyMapper">
|
|
|
|
|
|
|
|
<resultMap type="com.ruoyi.bgt.domain.BgtProjectRecruitApply" id="BgtProjectRecruitApplyResult">
|
|
|
|
<result property="id" column="id"/>
|
|
|
|
<result property="recruitId" column="recruit_id"/>
|
|
|
|
<result property="userId" column="user_id"/>
|
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
|
|
<result property="createBy" column="create_by"/>
|
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
<result property="remark" column="remark"/>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
<select id="appQueryList" resultType="com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO">
|
2025-02-19 18:36:44 +08:00
|
|
|
select bpra.id, wu.user_id, wu.phone, wu.score, wu.avatar_name, wu.username
|
2025-02-18 14:15:00 +08:00
|
|
|
from bgt_project_recruit_apply bpra
|
|
|
|
left join wgz_user wu on bpra.user_id = wu.user_id
|
|
|
|
where bpra.recruit_id = #{dto.recruitId}
|
2025-02-18 17:25:21 +08:00
|
|
|
<if test="dto.status !=null and dto.status !='' ">
|
|
|
|
and bpra.status = #{dto.status}
|
|
|
|
</if>
|
|
|
|
<if test="dto.username !=null and dto.username !='' ">
|
|
|
|
and wu.username like concat('%', #{dto.username}, '%')
|
|
|
|
</if>
|
2025-02-18 14:15:00 +08:00
|
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|