diff --git a/src/main/resources/modules/Java_api/pom.xml b/src/main/resources/modules/Java_api/pom.xml index c3bdfa5c..af695544 100644 --- a/src/main/resources/modules/Java_api/pom.xml +++ b/src/main/resources/modules/Java_api/pom.xml @@ -95,7 +95,7 @@ true lib/ - com.example.ApiClient + ${domain}.ApiClient diff --git a/src/main/resources/modules/SpringBoot/pom.ftl b/src/main/resources/modules/SpringBoot/pom.ftl index 1c0440f4..91484a52 100644 --- a/src/main/resources/modules/SpringBoot/pom.ftl +++ b/src/main/resources/modules/SpringBoot/pom.ftl @@ -125,7 +125,7 @@ <#if dataBase == 'Oracle'> - com.example + ${basePackage} ojdbc 0.0.1 system diff --git a/src/main/resources/modules/SpringBoot/test/system/DictItemTest.java b/src/main/resources/modules/SpringBoot/test/system/DictItemTest.java index 3372d438..3da768c9 100644 --- a/src/main/resources/modules/SpringBoot/test/system/DictItemTest.java +++ b/src/main/resources/modules/SpringBoot/test/system/DictItemTest.java @@ -1,9 +1,17 @@ -package com.example.system; - -import com.example.frame.base.Token; -import com.example.module.system.mgr.DictItemManager; -import com.example.module.system.req.*; -import com.example.module.system.rsp.*; +package ${basePackage}.system; + +import ${basePackage}.frame.base.Token; +import ${basePackage}.module.system.mgr.DictItemManager; +import ${basePackage}.module.system.req.DictItemCreateRequest; +import ${basePackage}.module.system.req.DictItemDeleteRequest; +import ${basePackage}.module.system.req.DictItemFindRequest; +import ${basePackage}.module.system.req.DictItemGetRequest; +import ${basePackage}.module.system.req.DictItemUpdateRequest; +import ${basePackage}.module.system.rsp.DictItemCreateResponse; +import ${basePackage}.module.system.rsp.DictItemDeleteResponse; +import ${basePackage}.module.system.rsp.DictItemFindResponse; +import ${basePackage}.module.system.rsp.DictItemGetResponse; +import ${basePackage}.module.system.rsp.DictItemUpdateResponse; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/resources/modules/SpringBoot/test/system/DictTest.java b/src/main/resources/modules/SpringBoot/test/system/DictTest.java index 3bff7d77..eda98283 100644 --- a/src/main/resources/modules/SpringBoot/test/system/DictTest.java +++ b/src/main/resources/modules/SpringBoot/test/system/DictTest.java @@ -1,11 +1,22 @@ -package com.example.system; - -import com.example.frame.base.Token; -import com.example.module.system.mgr.DictItemManager; -import com.example.module.system.mgr.DictItemManagerImpl; -import com.example.module.system.mgr.DictManager; -import com.example.module.system.req.*; -import com.example.module.system.rsp.*; +package ${basePackage}.system; + +import ${basePackage}.frame.base.Token; +import ${basePackage}.module.system.mgr.DictItemManager; +import ${basePackage}.module.system.mgr.DictManager; +import ${basePackage}.module.system.req.DictCreateRequest; +import ${basePackage}.module.system.req.DictDeleteRequest; +import ${basePackage}.module.system.req.DictFindRequest; +import ${basePackage}.module.system.req.DictGetRequest; +import ${basePackage}.module.system.req.DictItemCreateRequest; +import ${basePackage}.module.system.req.DictLoadRequest; +import ${basePackage}.module.system.req.DictUpdateRequest; +import ${basePackage}.module.system.rsp.DictCreateResponse; +import ${basePackage}.module.system.rsp.DictDeleteResponse; +import ${basePackage}.module.system.rsp.DictFindResponse; +import ${basePackage}.module.system.rsp.DictGetResponse; +import ${basePackage}.module.system.rsp.DictItemCreateResponse; +import ${basePackage}.module.system.rsp.DictLoadResponse; +import ${basePackage}.module.system.rsp.DictUpdateResponse; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/resources/modules/SpringBoot/test/system/FileTest.java b/src/main/resources/modules/SpringBoot/test/system/FileTest.java index 80b18ff0..059cf371 100644 --- a/src/main/resources/modules/SpringBoot/test/system/FileTest.java +++ b/src/main/resources/modules/SpringBoot/test/system/FileTest.java @@ -1,15 +1,15 @@ -package com.example.system; - -import com.example.frame.base.Token; -import com.example.module.system.mgr.FileManager; -import com.example.module.system.req.FileCreateRequest; -import com.example.module.system.req.FileDeleteRequest; -import com.example.module.system.req.FileFindRequest; -import com.example.module.system.req.FileGetRequest; -import com.example.module.system.rsp.FileCreateResponse; -import com.example.module.system.rsp.FileDeleteResponse; -import com.example.module.system.rsp.FileFindResponse; -import com.example.module.system.rsp.FileGetResponse; +package ${basePackage}.system; + +import ${basePackage}.frame.base.Token; +import ${basePackage}.module.system.mgr.FileManager; +import ${basePackage}.module.system.req.FileCreateRequest; +import ${basePackage}.module.system.req.FileDeleteRequest; +import ${basePackage}.module.system.req.FileFindRequest; +import ${basePackage}.module.system.req.FileGetRequest; +import ${basePackage}.module.system.rsp.FileCreateResponse; +import ${basePackage}.module.system.rsp.FileDeleteResponse; +import ${basePackage}.module.system.rsp.FileFindResponse; +import ${basePackage}.module.system.rsp.FileGetResponse; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired;