@Select 数据表的字段与实体类的属性值
添加@Results
@Select("select * from goods") @Results({ @Result(property = "id", column = "id"), @Result(property = "goodsName", column = "goods_name"), @Result(property = "goodsTitle", column = "goods_title"), @Result(property = "goodsImg", column = "goods_img"), @Result(property = "goodsDetail", column = "goods_detail"), @Result(property = "goodsPrice", column = "goods_price"), @Result(property = "goodsStock", column = "goods_stock"), }) public List<Goods> bbb();