edit页保存报错:Encountered " "?" "? "" at line 24, column 39. Was expecti

2020-1-7 调试某模块,manage页、add页、detail页都已正常,edit页点击保存按钮时报错:

...

Caused by: net.sf.jsqlparser.JSQLParserException: null

         at net.sf.jsqlparser.parser.CCJSqlParserManager.parse(CCJSqlParserManager.java:40) ~[jsqlparser-0.9.2.jar:na]

         at avicit.platform6.core.mybatis.shard.converter.SqlConverterFactory.convert(SqlConverterFactory.java:60) ~[avicit-platform6-core-6.3.1.jar:6.3.1]

         ... 115 common frames omitted

Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "?" "? "" at line 24, column 39.

Was expecting:

    "=" ...

本次调试是在原有代码的基础上增删部分字段,前台修改了manage页、add页、detail页、edit页,后台修改了DTO文件、mapper文件。从错误提示看,像是mapper文件中的格式。

打开mapper文件,其中写了查询、新增、更新、删除对应的sql。鉴于之前测试时查询、新增、删除功能都是正常的,只是edit保存时出错,应该是更新sql语句有问题。仔细检查,发现

edit页保存报错:Encountered " "?" "? "" at line 24, column 39.  Was expecti

 

 第619行#前面少个=,添加保存重启tomcat,再次测试,ok了

上一篇:Qt翻译原生widgets(QTextEdit右键菜单等)


下一篇:NVMe、AHCI、PCIe、SATA、NGFF接口、协议小结