| | |
| | | // 演示例子,执行 main 方法控制台输入模块表名回车自动生成对应项目目录中 |
| | | public class CodeGenerator { |
| | | |
| | | public static String database_url = "jdbc:mysql://114.132.189.42:9004/lims-zb"; |
| | | public static String database_url = "jdbc:mysql://localhost:3306/center-lims"; |
| | | public static String database_username = "root"; |
| | | public static String database_password= "123456"; |
| | | public static String author = "芯导软件(江苏)有限公司"; |
| | | public static String model_name = "/mes-technical"; // 如果为分布式填子模块名称,如果不是分布式为空即可 |
| | | public static String setParent = "com.ruoyi.technical"; // 包路径 |
| | | public static String tablePrefix = "technical"; // 设置过滤表前缀 |
| | | public static String author = ""; |
| | | public static String model_name = "/cnas-process"; // 如果为分布式填子模块名称,如果不是分布式为空即可 |
| | | public static String setParent = "com.ruoyi.process"; // 包路径 |
| | | public static String tablePrefix = "cnas_"; // 设置过滤表前缀 |
| | | public static void main(String[] args) { |
| | | String projectPath = System.getProperty("user.dir"); |
| | | FastAutoGenerator.create(database_url, database_username, database_password) |