逻辑变更

This commit is contained in:
2025-03-25 17:54:48 +08:00
parent 8fe084ddb7
commit 1531913a43
75 changed files with 138 additions and 59 deletions

View File

@ -276,10 +276,10 @@ 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}
<if test="type!=null and type!=1">
<if test="type!=null and type == 1 ">
and a.status in ("3","5","6")
</if>
<if test="type!=null and type!=2">
<if test="type!=null and type == 2 ">
and a.status in ("1","3","5","6")
</if>
and a.del_flag = "0"

View File

@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN bgt_user b ON (a.auditor_user_id = b.user_id and b.del_flag = 0)
LEFT JOIN wgz_user c ON (a.user_id = c.user_id and c.del_flag = 0)
WHERE
a.user_id = #{userId} and a.del_flag = 0
a.user_id = #{userId} and a.apply_key = #{recruitApplyId} and a.del_flag = 0
ORDER BY
a.id DESC
</select>