帆软用户FV1ZrRIPGP(提问者)数据源那里的sql脚本是不是不识别case when呀,看关键字没有变色,页面报错 ORA-00905: 缺失关键字
on 1=1
and case when b.TA_CODE is not null && h.TA_CODE is not null then b.TA_CODE=h.TA_CODE else 1=1 end
and case when b.CUSTOMER_AFFILIATION is not null && h.CUSTOMER_AFFILIATION is not null then b.CUSTOMER_AFFILIATION=h.CUSTOMER_AFFILIATION else 1=1 end