소스 검색

修改包名路径错误

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