commit 935830163c427c06f74835e87fabc07a6ffe91db Author: ycl Date: Thu Dec 4 15:02:28 2025 +0800 init commit diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f0f7a35 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/pub-spring5-springboot2-module-template.iml b/.idea/pub-spring5-springboot2-module-template.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/pub-spring5-springboot2-module-template.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/template/.gitignore b/template/.gitignore new file mode 100644 index 0000000..0099ac4 --- /dev/null +++ b/template/.gitignore @@ -0,0 +1,24 @@ +bin/ +classes/ + + +.settings/ +.classpath +.project + +*.iml +.idea/ +HELP.md +!.idea/dataSources.xml + +.vscode/ +.factorypath + +target/ +test-output/ +mvnw +mvnw.cmd + +.DS_Store +logs/ +*.log \ No newline at end of file diff --git a/template/common/pom.xml b/template/common/pom.xml new file mode 100644 index 0000000..e3a76db --- /dev/null +++ b/template/common/pom.xml @@ -0,0 +1,10 @@ + + + 4.0.0 + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + {{ .artifactId }}-common + diff --git a/template/entrance/pom.xml b/template/entrance/pom.xml new file mode 100644 index 0000000..dadcc62 --- /dev/null +++ b/template/entrance/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + {{ .artifactId }}-entrance + pom + + + {{ .groupId }} + {{ .artifactId }}-common + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + + job + mq + web + rpc + + diff --git a/template/entrance/web/pom.xml b/template/entrance/web/pom.xml new file mode 100644 index 0000000..e4b7b4f --- /dev/null +++ b/template/entrance/web/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + ${revision} + + + {{ .artifactId }}-entrance-web + jar + + + + {{ .groupId }} + {{ .artifactId }}-service + + + + diff --git a/template/manager/pom.xml b/template/manager/pom.xml new file mode 100644 index 0000000..27032c8 --- /dev/null +++ b/template/manager/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-manager + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-persist + + + {{ .groupId }} + {{ .artifactId }}-common + + + diff --git a/template/module b/template/module new file mode 100644 index 0000000..ad93bc6 --- /dev/null +++ b/template/module @@ -0,0 +1,5 @@ +id={{ .moduleId }} +name={{ .moduleName | replace "-" "_" }} +projectId={{ .projectId }} +projectName={{ .projectName }} +applicationName={{ .applicationName }} diff --git a/template/persist/pom.xml b/template/persist/pom.xml new file mode 100644 index 0000000..ce1a2d9 --- /dev/null +++ b/template/persist/pom.xml @@ -0,0 +1,25 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-persist + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-common + + + + diff --git a/template/pom.xml b/template/pom.xml new file mode 100644 index 0000000..0593b01 --- /dev/null +++ b/template/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + {{ .groupId }} + {{ .artifactId }} + pom + + {{ .groupId }} + {{ .parentArtifactId }} + ${revision} + ../../pom.xml + + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-service + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-persist + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-manager + ${revision} + + + + + persist + service + common + manager + entrance + public-service + + diff --git a/template/public-service/pom.xml b/template/public-service/pom.xml new file mode 100644 index 0000000..a6e8244 --- /dev/null +++ b/template/public-service/pom.xml @@ -0,0 +1,10 @@ + + + 4.0.0 + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + {{ .artifactId }}-public-service + diff --git a/template/service/pom.xml b/template/service/pom.xml new file mode 100644 index 0000000..7f9f27a --- /dev/null +++ b/template/service/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-service + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-common + + + {{ .groupId }} + {{ .artifactId }}-manager + + + + diff --git a/template/service/readme.md b/template/service/readme.md new file mode 100644 index 0000000..a85ecea --- /dev/null +++ b/template/service/readme.md @@ -0,0 +1 @@ +## 具体业务逻辑层定义,包括对api等实现,以Servcie为后缀 \ No newline at end of file diff --git a/values.yml b/values.yml new file mode 100644 index 0000000..93cb4bb --- /dev/null +++ b/values.yml @@ -0,0 +1,11 @@ +moduleName: his_to +groupId: com.volunteerBank +artifactId: '{{ .moduleName | replace "-" "_" }}' +parentArtifactId: '{{ .projectName | replace "-" "_" }}' +projectId: 5faf4e3e-48e6-44b1-a7c5-79a0312aabe4 +moduleId: 27325654-a00a-44f1-a2db-245336f5b47e +version: 3.0-SNAPSHOT +package: "{{ .groupId }}.{{ .artifactId }}" +packagePath: '{{ .package | replace "." "/" }}' +projectName: volunteer-bank +applicationName: "{{ .projectName }}-server" \ No newline at end of file