This commit is contained in:
2025-03-21 17:08:03 +08:00
parent da2b45f344
commit e7657de323
13 changed files with 97 additions and 42 deletions

View File

@ -262,7 +262,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN bgt_project_recruit as b on(b.id = a.recruit_id)
WHERE
a.user_id = #{userId}
and (a.status = "3" or a.status = "5" or a.status = "6")
<if test="type!=null and type!='1'">
and a.status in ("3","5","6")
</if>
<if test="type!=null and type!='2'">
and a.status in ("1","3","5","6")
</if>
and a.del_flag = "0"
GROUP BY a.recruit_id
</select>