From 060426c189333fb3b97e9826efac4f4573f022eb Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Fri, 17 Apr 2020 17:35:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apis/articlecontent/ArticleContentController.java | 7 +++---- .../apis/articlecontent/ArticleContentAppController.java | 7 +++---- .../articlecontent/ArticleContentResourceController.java | 7 +++---- .../article/dao/articlecontent/IArticleContentDao.java | 3 +-- .../service/articlecontent/IArticleContentService.java | 5 ++--- 5 files changed, 12 insertions(+), 17 deletions(-) diff --git a/cloud-common-article/src/main/java/com/cm/common/article/controller/apis/articlecontent/ArticleContentController.java b/cloud-common-article/src/main/java/com/cm/common/article/controller/apis/articlecontent/ArticleContentController.java index 1b9778b..1e07138 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/controller/apis/articlecontent/ArticleContentController.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/controller/apis/articlecontent/ArticleContentController.java @@ -1,6 +1,9 @@ package com.cm.common.article.controller.apis.articlecontent; import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; +import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; +import com.cm.common.article.service.articlecontent.IArticleContentService; import com.cm.common.base.AbstractController; import com.cm.common.component.SecurityComponent; import com.cm.common.constants.ISystemConstant; @@ -13,16 +16,12 @@ import com.cm.common.result.ErrorResult; import com.cm.common.result.SuccessResult; import com.cm.common.result.SuccessResultData; import com.cm.common.result.SuccessResultList; -import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; -import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; -import com.cm.common.article.service.articlecontent.IArticleContentService; import com.cm.common.utils.RegexUtil; import io.swagger.annotations.*; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import java.util.Arrays; import java.util.List; import java.util.Map; diff --git a/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java b/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java index d6e7475..cd48412 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java @@ -1,6 +1,9 @@ package com.cm.common.article.controller.app.apis.articlecontent; import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; +import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; +import com.cm.common.article.service.articlecontent.IArticleContentService; import com.cm.common.base.AbstractController; import com.cm.common.constants.ISystemConstant; import com.cm.common.exception.RemoveException; @@ -10,14 +13,10 @@ import com.cm.common.result.ErrorResult; import com.cm.common.result.SuccessResult; import com.cm.common.result.SuccessResultData; import com.cm.common.result.SuccessResultList; -import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; -import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; -import com.cm.common.article.service.articlecontent.IArticleContentService; import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import java.util.Arrays; import java.util.List; import java.util.Map; diff --git a/cloud-common-article/src/main/java/com/cm/common/article/controller/resources/articlecontent/ArticleContentResourceController.java b/cloud-common-article/src/main/java/com/cm/common/article/controller/resources/articlecontent/ArticleContentResourceController.java index a310b08..7af216d 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/controller/resources/articlecontent/ArticleContentResourceController.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/controller/resources/articlecontent/ArticleContentResourceController.java @@ -1,6 +1,9 @@ package com.cm.common.article.controller.resources.articlecontent; import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; +import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; +import com.cm.common.article.service.articlecontent.IArticleContentService; import com.cm.common.base.AbstractController; import com.cm.common.constants.ISystemConstant; import com.cm.common.exception.RemoveException; @@ -10,14 +13,10 @@ import com.cm.common.result.ErrorResult; import com.cm.common.result.SuccessResult; import com.cm.common.result.SuccessResultData; import com.cm.common.result.SuccessResultList; -import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; -import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; -import com.cm.common.article.service.articlecontent.IArticleContentService; import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import java.util.Arrays; import java.util.List; import java.util.Map; diff --git a/cloud-common-article/src/main/java/com/cm/common/article/dao/articlecontent/IArticleContentDao.java b/cloud-common-article/src/main/java/com/cm/common/article/dao/articlecontent/IArticleContentDao.java index 4d11aa2..dad894e 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/dao/articlecontent/IArticleContentDao.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/dao/articlecontent/IArticleContentDao.java @@ -1,11 +1,10 @@ package com.cm.common.article.dao.articlecontent; +import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; import com.cm.common.exception.RemoveException; import com.cm.common.exception.SaveException; import com.cm.common.exception.SearchException; import com.cm.common.exception.UpdateException; -import com.cm.common.result.SuccessResultList; -import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; import org.springframework.stereotype.Repository; import java.util.List; diff --git a/cloud-common-article/src/main/java/com/cm/common/article/service/articlecontent/IArticleContentService.java b/cloud-common-article/src/main/java/com/cm/common/article/service/articlecontent/IArticleContentService.java index c880f6f..0dac3e2 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/service/articlecontent/IArticleContentService.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/service/articlecontent/IArticleContentService.java @@ -1,15 +1,14 @@ package com.cm.common.article.service.articlecontent; +import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; +import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; import com.cm.common.exception.RemoveException; -import com.cm.common.exception.SaveException; import com.cm.common.exception.SearchException; import com.cm.common.exception.UpdateException; import com.cm.common.pojo.ListPage; import com.cm.common.result.SuccessResult; import com.cm.common.result.SuccessResultData; import com.cm.common.result.SuccessResultList; -import com.cm.common.article.pojo.dtos.articlecontent.ArticleContentDTO; -import com.cm.common.article.pojo.vos.articlecontent.ArticleContentVO; import java.util.List; import java.util.Map;