返回顶部
摘要: 0. 导包 1.创建 application.properties 文件 2. 创建一个启动类 需要贴人的标签 3. Controller类 4. Mapper.xml文件 阅读全文
posted @ 2019-10-21 23:21 明亮且蛋糕 阅读(178) 评论(0) 推荐(0)
摘要: 0.需要导入的包 1.先创建Mapper接口 再写入要实现的方法,再创建Mapper.xml文件 <?xml version="1.0" encoding="UTF-8" ?> <!-- 对象的映射关系 --> <mapper namespace="Mapper接口的全限定名"> <resultMa 阅读全文
posted @ 2019-10-21 22:44 明亮且蛋糕 阅读(343) 评论(0) 推荐(0)