Tools of mybatis(TOM) common.
Java project commons.
mybatis-plus 开发工具集,对 mapper 层增强了批量操作、集成 redis 缓存操作,支持实体对象缓存、自定义缓存、本地缓存等。
在项目的pom.xml的dependencies中加入以下内容:
<dependency>
<groupId>io.github.cuilan</groupId>
<artifactId>tom-all</artifactId>
<version>latestVersion</version>
</dependency>
implementation 'io.github.cuilan:tom-all:latestVersion'
用于 mybatis-plus 开发的各种组件及工具:
模块 | 介绍 |
---|---|
tom-all | 全部引入 |
tom-bom | bom的方式进行依赖管理 |
tom-constants | 一些定义的常量、正则表达式、异常、SQL常量等 |
tom-crypto | 加密解密模块,提供对称、非对称和摘要算法封装 |
tom-mybatis-base | mybatis基础操作,增强mapper层批量操作功能 |
tom-network | 网络工具、Http下载、文件下载、zip下载等 |
tom-redis | mybatis redis缓存增强 |
tom-utils | 一些工具类 |
根据需求可对模块单独引入,也可通过引入 tom-all
方式引入所有模块。
TOM is released ubder the Apache 2.0 license. See LICENSE