Cause: java.sql.SQLSyntaxErrorException: ORA-01719: OR 或 IN 操作数中不允许外部联接运算符 (+)

 

 

    <select id="getInfoByTempAc01" parameterClass="string" resultClass="java.util.HashMap">
        select b.aab001,
            c.aab069,
            a.aac001,
            a.aac003,
            a.aac147,
            a.aac998,
            a.aac007,
            b.aac049,
            b.aae206,
            b.aae140,
            a.aic162,
            a.aac060
        from ac01 a, ac02 b, ae10 c, temp_ac01 d
        where a.aac001 = b.aac001(+)
        and b.aab001 = c.aaz001(+)
        and A.AAC001 = d.aac001 OR A.AAC998 = d.aac001 OR A.AAC147 = d.aac001
        and d.hdid = #hdid#
    </select>

 

posted @ 2020-03-19 01:05  moonsoft  阅读(798)  评论(0编辑  收藏  举报