From 189eac4feae5ba44e552e660fad7010ec6174838 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Mon, 18 May 2020 16:58:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E5=8F=AF?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E7=BB=9F=E4=B8=80=E7=94=A8=E6=88=B7=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9service=E9=9B=86=E6=88=90AbstractService?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/codetemplate/base/route/index.ftl | 2 +- .../templates/codetemplate/default/service/ServiceImpl.ftl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/route/index.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/route/index.ftl index 6c667ec..4cc91b0 100755 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/route/index.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/route/index.ftl @@ -24,7 +24,7 @@
diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl index 929ea08..21ecd19 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl @@ -1,5 +1,6 @@ package ${basePackage}.service.${lowerTableName}.impl; +import com.cm.common.base.AbstractService; import com.cm.common.exception.RemoveException; import com.cm.common.exception.SaveException; import com.cm.common.exception.SearchException; @@ -12,7 +13,6 @@ import com.cm.common.utils.UUIDUtil; import ${basePackage}.dao.${lowerTableName}.I${firstUpperTableName}Dao; import ${basePackage}.pojo.dtos.${lowerTableName}.${firstUpperTableName}DTO; import ${basePackage}.pojo.vos.${lowerTableName}.${firstUpperTableName}VO; -import ${basePackage}.service.BaseService; import ${basePackage}.service.${lowerTableName}.I${firstUpperTableName}Service; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; @@ -29,7 +29,7 @@ import java.util.*; * @Version: ${version} **/ @Service -public class ${firstUpperTableName}ServiceImpl extends BaseService implements I${firstUpperTableName}Service { +public class ${firstUpperTableName}ServiceImpl extends AbstractService implements I${firstUpperTableName}Service { @Autowired private I${firstUpperTableName}Dao ${firstLowerTableName}Dao;