听闻少年二字,当与平庸相斥。这篇文章主要讲述springboot 通用Mapper使用相关的知识,希望能为你提供帮助。
https://blog.csdn.net/dwf_android/article/details/79359360
https://www.cnblogs.com/larryzeal/p/5874107.html
【springboot 通用Mapper使用】https://blog.csdn.net/qq_19260029/article/details/78010369
https://www.cnblogs.com/jinjiyese153/p/8579972.html
< !--通用Mapper start--> < dependency> < groupId> tk.mybatis< /groupId> < artifactId> mapper-spring-boot-starter< /artifactId> < version> 2.1.5< /version> < /dependency> < !--通用Mapper end-->
mapper: mappers: com.hc.commonMapper.tkMyMapper identity: mysql not-empty: false
package com.hc.commonMapper; import tk.mybatis.mapper.common.Mapper; import tk.mybatis.mapper.common.MySqlMapper; public interface tkMyMapper< T> extends Mapper< T> , MySqlMapper< T> { }//end
package com.hc.tkMapper; import com.hc.commonMapper.tkMyMapper; import com.hc.entity.liehu_app; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Service; @Service @Mapper public interface hc_appMapper extends tkMyMapper< hc_app> {}//end
推荐阅读
- NET Core 实战 Dapper 扩展数据访问
- Android Studio之构建项目报错
- HEVC/H265 HM10 0 分析TAppDecTop cpp
- Vue2.5开发去哪儿网App 首页开发
- Spring Boot通过application.yml配置文件获取属性及类信息
- android修改便携式热点的默认SSID名称
- android USB OTG功能如何打开及实现
- 在Python中使用PostgreSQL
- 循环学习率简介