服务器未知运行时异常: 
### Error querying database.  Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY bsel.create_time DESC) TOTAL' at line 15
### The error may exist in file [D:\code\casic-metering-biz-xichang\casic-metering-dao\target\classes\mapper\business\BizBusinessSiteExecutiveLogMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: SELECT COUNT(*) FROM (SELECT bsel.log_no, bsel.log_name, bsei.id AS siteExecutiveId, bsei.site_executive_no AS siteExecutiveNo,         brci.customer_name, bsel.create_user_id, bsel.create_user_name, bsel.create_time         FROM biz_business_site_executive_log bsel         LEFT JOIN biz_business_site_executive_info bsei ON bsel.site_executive_id = bsei.id         LEFT JOIN biz_resource_customer_info brci ON bsei.customer_id = brci.id         WHERE 1=1                                                               and bsel.id in                                 ORDER BY bsel.create_time DESC) TOTAL
### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY bsel.create_time DESC) TOTAL' at line 15
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY bsel.create_time DESC) TOTAL' at line 15