赞
踩
- 2024-02-23 16:07:21 [XNIO-1 task-2] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver
- - Resolved [org.springframework.jdbc.BadSqlGrammarException: <EOL><EOL>### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'created_by' in 'field list'<EOL><EOL>### The error may exist in org/sharetek/warehouse/mapper/Table1Mapper.java (best guess)<EOL><EOL>### The error may involve defaultParameterMap<EOL><EOL>### The error occurred while setting parameters<EOL><EOL>### SQL: SELECT id,warehouse_num,warehouse_name,location,remark,del_flag,created_by,created_on,modified_by,modified_on FROM table1 WHERE del_flag='0' LIMIT ?<EOL><EOL>### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'created_by' in 'field list'<EOL>; bad SQL grammar []]
数据库表如下:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。