任务下发选择用户只显示当前用户登录的仓库已经绑定的账号
This commit is contained in:
@@ -226,6 +226,13 @@
|
||||
OR a.create_by = #{createBy})
|
||||
</if>
|
||||
|
||||
<if test="userIds !=null and userIds.size() > 0 ">
|
||||
and a.user_id in
|
||||
<foreach item="id" collection="userIds" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="userId !=null and userId !='' ">
|
||||
and a.user_id = #{userId}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user