create global binding for
SELECT COUNT() AS total FROM co_order WHERE ( uid = ? AND STATUS IN (?, ?, ?, ?) )
using
SELECT /+ max_execution_time(10000)/ COUNT() AS total FROM co_order WHERE ( uid = ? AND STATUS IN (?, ?, ?, ?) );
不能改程序SQL的话,加个绑定