陈昶聿
昨天 a5fc29e1f53a23512d0b4235a32b31b2ea8c0055
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>