陈昶聿
4 天以前 05c82d89b6df8c236feb0e4dc3f83f18e8414df0
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>