Mybatis-plus 报错 Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method
报错### The error may exist in com/markerhub/mapper/BlogMapper.java (best guess)### The error may involve defaultParameterMap### The error occurred while setting parameters### Cause: com.baomidou.mybati
·
报错
### The error may exist in com/markerhub/mapper/BlogMapper.java (best guess)
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method queryTotal execution error of sql :
SELECT COUNT(1) FROM ( SELECT id,star,like,author,created,description,title,user_id,recent,content,status FROM m_blog
ORDER BY created DESC ) TOTAL
因为实体类里面用了mysql关键字的like作为了数据字段
更多推荐
已为社区贡献1条内容
所有评论(0)