用看的、听的学真题

study by eyes and ears.

  1. 首页
  2. 系统错误

对不住,小黄鸡刚才喝得晕头转向...

### 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 '; update rkb_exam_choice set views=views+1 where chief_id='19c56076b3dac6' at line 7 ### The error may exist in URL [jar:file:/web/www/ruankaoba.com/boot/rkb-home.jar!/BOOT-INF/lib/ruoyi-rkb-3.5.0.jar!/mapper/ExamQuestMapper.xml] ### The error may involve com.ruoyi.rkb.mapper.ExamQuestMapper.selectExamQuestByChiefId-Inline ### The error occurred while setting parameters ### SQL: select count(0) from ( select t.* from ((select paper_id,chief_id,chapter_id,chief_no,chief_question,chief_score,views,chief_no_range,recommend_label,value_label,type_label from rkb_exam_choice where chief_id=?) union (select paper_id,chief_id,chapter_id,chief_no,chief_question,chief_score,views,chief_no_range,recommend_label,value_label,type_label from rkb_exam_problem where chief_id=?)) as t; update rkb_exam_choice set views=views+1 where chief_id=?; update rkb_exam_problem set views=views+1 where chief_id=?; ) tmp_count ### 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 '; update rkb_exam_choice set views=views+1 where chief_id='19c56076b3dac6' at line 7 ; 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 '; update rkb_exam_choice set views=views+1 where chief_id='19c56076b3dac6' at line 7