# mybatis-mate-examples **Repository Path**: baomidou/mybatis-mate-examples ## Basic Information - **Project Name**: mybatis-mate-examples - **Description**: mybatis-mate 为 mp 企业级模块,支持分库分表,数据审计、数据敏感词过滤(AC算法),字段加密,字典回写(数据绑定),数据权限,表结构自动生成 SQL 维护,支持国密 sm2 sm3 sm4 加密算法等 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://baomidou.com/guides/advanced-features/ - **GVP Project**: No ## Statistics - **Stars**: 1357 - **Forks**: 226 - **Created**: 2021-07-08 - **Last Updated**: 2025-06-13 ## Categories & Tags **Categories**: sample-code **Tags**: 数据加密, 低代码数据处理库, 低代码, 国密, MyBatis ## README # mybatis-mate #### 介绍 mybatis-plus 企业(数据优雅处理)模块 > 营造良好的软件生态,合规渠道获得软件作者授权。 - Spring Boot 引入自动依赖注解包(该包自动会引入 annotation 注解包) > SpringBoot 3.X 使用 1.3.6 版本 SpringBoot 2.X 使用 1.3.6-sp2 版本 [点击查看当前最新版本](https://central.sonatype.com/artifact/com.baomidou/mybatis-mate-starter) - 注意不同密钥需要使用指定算法生成密钥,例如 `SM2` `SM4` 使用 `KeyGenerator` 类生成,不可随意编写任意字符串。 ``` com.baomidou mybatis-mate-starter 1.3.6 ``` - 注解(实体分包使用) ``` com.baomidou mybatis-mate-annotation 1.3.6 ``` - 咨询作者 ![微信 wx153666](https://images.gitee.com/uploads/images/2021/0903/235825_2d017339_12260.jpeg) - mybatis-mate-data-audit :数据审计(对账)示例 - mybatis-mate-data-datascope :数据范围(数据权限)示例 `包含二次授权逻辑` - mybatis-mate-ddl-mysql :表结构自动维护 Mysql 示例 - mybatis-mate-ddl-postgres :表结构自动维护 PostgreSQL 示例 - mybatis-mate-dict :字段数据字典自动映射示例 `该功能可以绑定任意类型的数据源,例如:根据 orderId 绑定 orderNo` - mybatis-mate-encrypt :字段加密解密示例 - mybatis-mate-encrypt-mysql-aes :数据库 mysql 字段 aes 双向加密解密示例 - mybatis-mate-encrypt-sm2-sm3-sm4 :国密 sm2 sm3 sm4 加密算法示例 - mybatis-mate-jsonbind :返回 json 数据动态绑定虚拟属性 示例 - mybatis-mate-sensitive-jackson :字段脱敏 jackson 实现示例 - mybatis-mate-sensitive-words :请求参数 敏感词 过滤 AC 算法 示例 - mybatis-mate-sharding :多数据源分库分表(读写分离)健康检查自动切换示例 - mybatis-mate-sharding-dynamic :多数据源动态加载卸载示例(代码初始化数据源) - mybatis-mate-sharding-jta-atomikos :多数据源事务( jta atomikos)示例