"OceanBase数据库 mysql可以这么写,oceanbase也支持吗? AND (A.AR_CODE is not null OR A.AR_CODE <> '') SELECT DISTINCT A.FUNC_ID ID,A.PARENT_ID,A.FUNC_CODE CODE,A.FUNC_NAME NAME,A.FUNC_URI URL,A.AR_CODE PERMS,A.INNER_CODE,A.DEFAULT_FLAG,A.FUNC_PARAM PARAM
FROM P1SM_FUNC A
JOIN P1SM_FUNCROLE B ON B.SFUNC_ID = A.ROW_ID AND B.SYS_ID = A.SYS_ID
JOIN P1SM_ROLE C ON C.ROW_ID = B.SROLE_ID AND C.SYS_ID = B.SYS_ID AND C.STATUS_FLAG='3'
JOIN P1SM_USERROLE D ON D.SROLE_ID = B.SROLE_ID AND D.SYS_ID = B.SYS_ID
JOIN P1SM_USER E ON E.ROW_ID = D.SUSER_ID AND E.SYS_ID = B.SYS_ID AND E.STATUS_FLAG='3'
WHERE A.DELETED_FLAG = '0'
AND A.END_FLAG = '1'
AND (A.AR_CODE is not null OR A.AR_CODE <> '')
AND B.DELETED_FLAG = '0'
AND C.DELETED_FLAG = '0'
AND D.DELETED_FLAG = '0'
AND E.DELETED_FLAG = '0'
AND E.ROW_ID = #{userId}
ORDER BY A.INNER_CODE "
AND (A.AR_CODE is not null OR A.AR_CODE <> '') 应该是不支持 此回答整理自钉群:”[社区]技术答疑群OceanBase“
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。