Fix bug:unexpected token

java.util.concurrent.ExecutionException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "tables" "TABLES"
    at line 7, column 40.


Signed-off-by: RabbitQ <15024835320@163.com>
This commit is contained in:
RabbitQ 2024-12-16 03:41:43 +00:00 committed by Gitee
parent 7b681e44a8
commit 36ebb16574
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -26,7 +26,7 @@
tables.create_time, tables.create_time,
tables.update_time, tables.update_time,
t_code_generator_config.update_time configTime t_code_generator_config.update_time configTime
from information_schema.tables tables from information_schema.tables
left join t_code_generator_config on tables.table_name = t_code_generator_config.table_name left join t_code_generator_config on tables.table_name = t_code_generator_config.table_name
where tables.table_schema = (select database()) where tables.table_schema = (select database())
<if test="queryForm.tableNameKeywords != null and queryForm.tableNameKeywords != ''"> <if test="queryForm.tableNameKeywords != null and queryForm.tableNameKeywords != ''">