逻辑变更
This commit is contained in:
@ -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"
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user