任务下发选择用户只显示当前用户登录的仓库已经绑定的账号

This commit is contained in:
zhou-hongcheng
2026-02-05 10:33:36 +08:00
parent e6244b94fe
commit da439c9127
@@ -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>