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;