我收到此异常'?'
附近的语法不正确。对于我的查询,我传递了一个参数ACTIVITY_REPORT_ID
SELECT
A.ACTIVITY_REPORT_ID,REPORT_START,REPORT_END
, VOYAGE_REF,VOY_STATUS,VSL_NAME,CHARTERER_NAME,CP_DATE
, APPR_DAYS_GROSS,APPR_DAYS_OFFHIRE
, APPR_DAYS_NET,APPR_REVENUE,APPR_EXPENSE,APPR_TCE_GROSS
, APPR_TCE_GROSS_DAILY,APPR_EXP_DAILY_POOL_FEES,COMM_PCNT
, APPR_COMM_AMT,APPR_TCE_NET,VOY_START_DATE,VOY_END_DATE
, APPR_TCE_NET_DAILY,REPORT_START,REPORT_END,NET_POOL_TCE
, DAILY_NET_POOL_TCE,GROSS_POOL_TCE,DAILY_GROSS_POOL_TCE
FROM PA_REF_ACTIVITY_REPORT_DTLS A
INNER JOIN PA_REF_ACTIVITY_REPORT_SUMMARY B
ON A.ACTIVITY_REPORT_ID=B.ACTIVITY_REPORT_ID
WHERE A.pool_id=1
AND A.ACTIVITY_REPORT_ID=?
AND CALLER_TYPE='ACTIVITY_REPORT'