mybatis-plus-usage

Community

Standardize MyBatis-Plus and MPJ usage.

Authorcodernai14-source
Version1.0.0
Installs0

System Documentation

What problem does it solve?

本技能将 MyBatis-Plus 与 MPJ 的使用规范化、标准化,帮助开发者在数据访问层中避免重复实现、确保一致的 CRUD、联表查询和复杂 SQL 的编写风格,从而提升代码质量和可维护性。

Core Features & Use Cases

  • 强制使用 BaseMapper 提供的 CRUD 方法,避免在 Mapper 接口中编写注解 SQL
  • 使用 MPJLambdaQueryWrapper 进行多表联表查询,提升查询可读性和安全性
  • 通过 XML 编写复杂 SQL,提升灵活性和性能优化空间
  • 提供 Service 层示例与最佳实践,帮助新手快速上手

Quick Start

在项目中让 Mapper 继承 BaseMapper,并优先使用 MPJLambdaQueryWrapper 进行联表查询,复杂 SQL 通过 XML 实现。

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mybatis-plus-usage
Download link: https://github.com/codernai14-source/Forgex/archive/main.zip#mybatis-plus-usage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.