无关风月
15 小时以前 b5ead35c1d955f2a0e2e10da79254860d0ba95e9
ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/utils/GeneratorCodeConfig.java
@@ -36,7 +36,7 @@
    public static void main(String[] args) {
        // 数据库连接url
        String dbUrl = "jdbc:mysql://localhost:3306/secondary_recovery";
        String dbUrl = "jdbc:mysql://localhost:3306/secondary_recovery_order";
        // 数据库用户名
        String dbUsername = "root";
        // 数据库密码
@@ -55,13 +55,13 @@
                        // 实体类中时间策略
                        .dateType(DateType.ONLY_DATE)
                        // 生成日期
                        .commentDate("yyyy-MM-dd")
                        .commentDate("yyyy-MM-dd HH:mm")
                )
                // 包配置
                .packageConfig(builder -> builder
                                // 父包名
                                .parent("com.rouyi.admin")
                                .parent("com.ruoyi.order")
                                // 父包模块名 注释即为无
//                         .moduleName(scanner("模块名"))
                                // Entity 包名
@@ -91,7 +91,7 @@
                            // 开启跳过视图
                            // .enableSkipView()
                            // 增加过滤表前缀
                            .addTablePrefix("ot_", "b_", "iot_", "sys_", "t_")
                            .addTablePrefix("ot_", "b_", "iot_", "t_", "sys_")
                            // 增加过滤表后缀
                            .addTableSuffix("_n")
                            // 增加过滤字段前缀