浏览代码

清除代码

zhouchenglin 7 年之前
父节点
当前提交
208cf0d938
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/net/chenlin/dp/modules/generator/utils/JdbcGenUtils.java

+ 2 - 2
src/main/java/net/chenlin/dp/modules/generator/utils/JdbcGenUtils.java

@@ -137,7 +137,7 @@ public class JdbcGenUtils {
                 String filePath = getFileName(template, javaModule, webModule, tableEntity.getClassName(), rootPath);
                 String templatePath = rootPath + JdbcUtils.class.getResource("/"+template).getPath().replaceFirst("/", "");
                 System.out.println(filePath);
-                File dstDir = new File(VelocityUtils.getPath(filePath));/*
+                File dstDir = new File(VelocityUtils.getPath(filePath));
                 //文件夹不存在创建文件夹
                 if(!dstDir.exists()){
                     dstDir.mkdirs();
@@ -149,7 +149,7 @@ public class JdbcGenUtils {
                     System.out.println(filePath + "===>>>创建成功!");
                 } else {
                     System.out.println(filePath + "===>>>文件已存在,未重新生成!");
-                }*/
+                }
             }
             System.out.println("============ finish table: " + tableEntity.getTableName() + " ================\n");
         }