liusheng
2026-05-01 336d113220f675976f864ad3eab7df7cd432808d
smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
@@ -125,6 +125,9 @@
        from sys_user u
        left join sys_dept d on u.dept_id = d.dept_id
        where u.del_flag = '0'
        <if test="orgid != null and orgid != ''">
            AND u.orgid = #{orgid}
        </if>
        <if test="userId != null and userId != 0">
            AND u.user_id = #{userId}
        </if>