瀏覽代碼

修改包名路径错误

ZhouChenglin 7 年之前
父節點
當前提交
c6060d86ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/net/chenlin/dp/modules/generator/utils/GenUtils.java

+ 1 - 1
src/main/java/net/chenlin/dp/modules/generator/utils/GenUtils.java

@@ -259,7 +259,7 @@ public class GenUtils {
 			String packageName) {
 		String packagePath = "java" + File.separator;
 		if (StringUtils.isNotBlank(packageName)) {
-			packagePath += packageName.replace(".", File.separator) + File.separator + "module" + File.separator + module + File.separator;
+			packagePath += packageName.replace(".", File.separator) + File.separator + "modules" + File.separator + module + File.separator;
 		}
 
 		if (template.contains("Entity.java.vm")) {