修改:招工列表、申请报名
This commit is contained in:
@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
LEFT JOIN fbs_project_task as c ON (b.task_id = c.id AND c.del_flag = 0)
|
||||
<where>
|
||||
<if test="page.userId!=null and dto.userId!=0 ">
|
||||
a.user_id = #{dto.userId} AND
|
||||
a.user_id = #{page.userId} AND
|
||||
</if>
|
||||
<choose>
|
||||
<when test="page.type!=null and page.type!='' and page.type=='1'">
|
||||
|
@ -87,4 +87,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.id = #{recruitId} AND a.del_flag = 0
|
||||
</select>
|
||||
|
||||
<select id="userJobListing" resultType="com.ruoyi.wgz.bo.res.WgzAppJobListingRes">
|
||||
SELECT
|
||||
b.*,
|
||||
c.task_name,
|
||||
c.task_address,
|
||||
c.task_img,
|
||||
(SELECT count(1) FROM bgt_project_recruit_apply WHERE recruit_id = a.id) as numberOfRegistered
|
||||
FROM
|
||||
bgt_project_recruit as b
|
||||
LEFT JOIN fbs_project_task as c ON (c.id = b.task_id AND c.del_flag = 0)
|
||||
WHERE
|
||||
b.del_flag = 0
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user