跳过导航链接
A C D I P S 

A

author(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
作者

C

cn.acyou.leo.framework.generator - 程序包 cn.acyou.leo.framework.generator
 
CustomCodeGenerator - cn.acyou.leo.framework.generator中的类
代码生成器 示例: {@code import cn.acyou.leo.framework.generator.CustomCodeGenerator; import com.baomidou.mybatisplus.generator.config.ConstVal; public class PayCodeGenerator { public static void main(String[] args) { CustomCodeGenerator.instance("t_point_rule", "t_") .author("youfang") .setDbConfig("com.mysql.cj.jdbc.Driver", "root", "root123") .setDbUrl("jdbc:mysql://localhost:3306/scorpio?

D

doGenerator() - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
执行

I

instance(String) - 类 中的静态方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置生成的表
instance(String, String) - 类 中的静态方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置生成的表(移除前缀) 使t_user -> User

P

packageParent(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
所有文件的父包
put(String, String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置各个模块的Module信息 ... .put(ConstVal.ENTITY_PATH, "leo-pay", "entity") .put(ConstVal.MAPPER_PATH, "leo-pay", "mapper") .put(ConstVal.XML_PATH, "leo-pay", "mappers") .put(ConstVal.SERVICE_PATH, "leo-pay", "service") .put(ConstVal.SERVICE_IMPL_PATH, "leo-pay", "service.impl") .put(ConstVal.CONTROLLER_PATH, "leo-pay", "controller") ...
putControllerPath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置Controller Module路径
putEntityPath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置Entity Module路径
putMapperPath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置Mapper Module路径
putServiceImplPath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置ServiceImpl Module路径
putServicePath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置Service Module路径
putXmlPath(String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置Xml Module路径

S

setDbConfig(String, String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置数据库配置
setDbUrl(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置数据库的url
superClass(String, String, String, String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
设置各个文件的父类
superControllerClass(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
单独设置Controller超类
superMapperClass(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
单独设置mapper超类
superServiceClass(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
单独设置service超类
superServiceImplClass(String) - 类 中的方法cn.acyou.leo.framework.generator.CustomCodeGenerator
单独设置serviceImpl超类
A C D I P S 
跳过导航链接

Copyright © 2022. All Rights Reserved.