spring boot通用mapper配置

在接觸這個配置之前,已經覺得mybatis的逆向工程生成已經很方便了,然而今天學到了一個通用mapper配置,在單表的crud,不需要配置xml、接口中的方法。特此來記錄一下: 1.首先在pom文件中添加啓動器: <!-- 通用mapper --> <dependency>     <groupId>tk.mybatis</groupId>     <artifactId>mapper-sprin
相關文章
相關標籤/搜索