陈昶聿
2 天以前 f282cbb3b22ab8c0cf3d5b9e58ab18af381e4d22
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>