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; /**