1、写 DAO 持久层 public interface BrandMapper { /** * 查询所有 * * @return */ @Select("select * from tb_brand") @ResultMap("brandResultMap") List<