摘要: 本博文主要讲Spring Boot中事务的使用 第一步: 在Spring Boot项目的入口类(启动类)中添加 @EnableTransactionManagement //注解为作用开启事务支持 使用@Mapper注解要定义成一个接口interface 作用: 1.使用@Mapper将NewsDA 阅读全文
posted @ 2021-01-08 19:59 旧歌 阅读(765) 评论(0) 推荐(0) 编辑