From 84d9b63707f6be21eb022d86f6abbf7597c99256 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 14 Aug 2025 19:08:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/controller/response/GlobalCrudResponse.java | 6 ------ .../template/controller/response/GlobalDetailResponse.java | 6 ------ .../template/controller/response/GlobalMapResponse.java | 6 ------ .../template/controller/response/GlobalResponse.java | 6 ------ .../service/template/service/SimpleService.java | 4 ---- .../service/template/service/CompanyService.java | 1 - 6 files changed, 29 deletions(-) diff --git a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalCrudResponse.java b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalCrudResponse.java index bb852d7..3a7a887 100644 --- a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalCrudResponse.java +++ b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalCrudResponse.java @@ -1,11 +1,5 @@ package com.lanyuanxiaoyao.service.template.controller.response; -/** - * Crud 响应 - * - * @author lanyuanxiaoyao - * @date 2023-07-06 - */ public class GlobalCrudResponse extends GlobalMapResponse { public void setData(Iterable list) { setData("items", list); diff --git a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalDetailResponse.java b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalDetailResponse.java index 6719f41..df17747 100644 --- a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalDetailResponse.java +++ b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalDetailResponse.java @@ -1,11 +1,5 @@ package com.lanyuanxiaoyao.service.template.controller.response; -/** - * Crud 响应 - * - * @author lanyuanxiaoyao - * @date 2023-07-06 - */ public class GlobalDetailResponse extends GlobalMapResponse { public void setDetail(Object detail) { setData("detail", detail); diff --git a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalMapResponse.java b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalMapResponse.java index f4aaa0a..269d04c 100644 --- a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalMapResponse.java +++ b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalMapResponse.java @@ -3,12 +3,6 @@ package com.lanyuanxiaoyao.service.template.controller.response; import java.util.HashMap; import java.util.Map; -/** - * Map 响应 - * - * @author lanyuanxiaoyao - * @date 2023-07-06 - */ public class GlobalMapResponse extends GlobalResponse> { public GlobalMapResponse() { setData(new HashMap<>()); diff --git a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalResponse.java b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalResponse.java index a9737a7..26bf039 100644 --- a/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalResponse.java +++ b/src/main/java/com/lanyuanxiaoyao/service/template/controller/response/GlobalResponse.java @@ -2,12 +2,6 @@ package com.lanyuanxiaoyao.service.template.controller.response; import java.util.Map; -/** - * Amis 组件结构化返回值 - * - * @author lanyuanxiaoyao - * @date 2022-09-21 - */ public class GlobalResponse { private static final int SUCCESS_STATUS = 0; private static final int ERROR_STATUS = 500; diff --git a/src/main/java/com/lanyuanxiaoyao/service/template/service/SimpleService.java b/src/main/java/com/lanyuanxiaoyao/service/template/service/SimpleService.java index 0aa5652..ed52749 100644 --- a/src/main/java/com/lanyuanxiaoyao/service/template/service/SimpleService.java +++ b/src/main/java/com/lanyuanxiaoyao/service/template/service/SimpleService.java @@ -7,10 +7,6 @@ import java.util.Optional; import java.util.Set; import org.springframework.data.domain.Page; -/** - * @author lanyuanxiaoyao - * @date 2024-11-28 - */ public interface SimpleService { Long save(ENTITY entity) throws Exception; diff --git a/src/test/java/com/lanyuanxiaoyao/service/template/service/CompanyService.java b/src/test/java/com/lanyuanxiaoyao/service/template/service/CompanyService.java index 7376712..08b92ee 100644 --- a/src/test/java/com/lanyuanxiaoyao/service/template/service/CompanyService.java +++ b/src/test/java/com/lanyuanxiaoyao/service/template/service/CompanyService.java @@ -2,7 +2,6 @@ package com.lanyuanxiaoyao.service.template.service; import com.lanyuanxiaoyao.service.template.entity.Company; import com.lanyuanxiaoyao.service.template.repository.CompanyRepository; -import com.lanyuanxiaoyao.service.template.repository.SimpleRepository; import org.springframework.stereotype.Service; /**