一、 selectById 查询出来的数据为空
如下图:

在实体类中的名称和我表中的名称一致

解决方案
在相应的id上声明绑定,

> @TableId(value = "uid", type = IdType.AUTO)
问题就解决了

二、 使用like模糊查询,查不出来数据
参数也对,自己也在navicat上进行测试了日志中的sql语句,但是前台就是查询不出来数据
解决方案
在数据库连接上加上上编码,就可以查询到数据了!