0
点赞
收藏
分享

微信扫一扫

SQL错误

祈澈菇凉 2022-02-14 阅读 218

table doesn't exist或者Unknown column '****' in 'where clause'问题

可以将语句中错误部分与数据库中名称改为完全一致,如

@Query(value = "UPDATE operate_book SET rent_time = rent_time + 30 WHERE book_id = ? AND userid = ?",nativeQuery = true);
举报

相关推荐

0 条评论