coding-rule-manage/subagents原始生成语句/mybatisplus逆向工程.md

8 lines
509 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

帮我创建指定表的mybatis-plus实体mappermapperxmlserviceserviceimpl到指定的模块中。创建要求如下
1. mapper与service不写任何方法
2. mapper不使用@Mapper注解
3. 表信息通过MCP查询
4. 实体需要使用@TableField与@TableId指定字段名
5. 实体需要使用knife4j编写文档注释knife4j的版本通过当前项目的springboot版本判断
6. 所有类需要编写javadoc
7. xml需要预留实体对应的ResultMap以及所有字段的定义sql片段