異常:
### Error querying database. Cause: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 85, line 2, column 48, token WHERE :
原因:SQL語句中表明的别名使用了
if
引起的,
if
為資料庫保留字
解決:修改表明别名即可