我就看出了一个错,你没有使用@Param()更上面的sql语句关联。你试试看可不可以解决
@Select("select * from user where id = #{id}")public User GetById(@Param("id") Integer id);
巧妙的把关键日志信息丢了