Parcourir la source

修改包名路径错误

ZhouChenglin il y a 7 ans
Parent
commit
c6060d86ff

+ 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")) {