1
0

refactor: 移除所有文件中的 @author 注释

移除所有 Java 文件中的 @author lanyuanxiaoyao 注释,统一代码风格。
This commit is contained in:
2026-01-06 14:56:02 +08:00
parent d88078ce42
commit 8622891dbb
15 changed files with 0 additions and 26 deletions

View File

@@ -54,7 +54,6 @@ import java.util.Map;
* </p>
*
* @param <QUERY_ITEM> 查询结果的实体类型
* @author lanyuanxiaoyao
*/
public interface QueryController<QUERY_ITEM> {
String LIST = "/list";

View File

@@ -9,8 +9,6 @@ package com.lanyuanxiaoyao.service.template.common.controller;
* DELETE /remove/1
* </pre>
* </p>
*
* @author lanyuanxiaoyao
*/
public interface RemoveController {
String REMOVE = "/remove/{id}";

View File

@@ -13,8 +13,6 @@ package com.lanyuanxiaoyao.service.template.common.controller;
* }
* </pre>
* </p>
*
* @author lanyuanxiaoyao
*/
public interface SaveController<SAVE_ITEM> {
String SAVE = "/save";

View File

@@ -4,9 +4,6 @@ import java.util.stream.Stream;
/**
* 分页
*
* @author lanyuanxiaoyao
* @version 20260106
*/
public record Page<ENTITY>(Stream<ENTITY> items, long total) {
}

View File

@@ -8,7 +8,6 @@ import java.util.Set;
* 查询服务接口,用于定义统一的查询实体详情和列表的服务规范
*
* @param <ENTITY> 实体类型
* @author lanyuanxiaoyao
*/
public interface QueryService<ENTITY> {
/**

View File

@@ -4,7 +4,6 @@ package com.lanyuanxiaoyao.service.template.common.service;
* 删除服务接口,用于定义统一的删除实体对象的服务规范
*
* @param <ENTITY> 实体类型
* @author lanyuanxiaoyao
*/
public interface RemoveService<ENTITY> {
/**

View File

@@ -4,7 +4,6 @@ package com.lanyuanxiaoyao.service.template.common.service;
* 保存服务接口,用于定义统一的保存实体对象的服务规范
*
* @param <ENTITY> 实体类型
* @author lanyuanxiaoyao
*/
public interface SaveService<ENTITY> {
/**

View File

@@ -93,7 +93,6 @@ import org.springframework.web.bind.annotation.RequestBody;
* @param <SAVE_ITEM> 保存项类型
* @param <LIST_ITEM> 列表项类型
* @param <DETAIL_ITEM> 详情项类型
* @author lanyuanxiaoyao
*/
@Slf4j
public abstract class SimpleControllerSupport<ENTITY extends SimpleEntity, SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> implements SimpleController<SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> {

View File

@@ -27,8 +27,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
* <li>@Comment: 为数据库字段添加注释</li>
* </ul>
* </p>
*
* @author lanyuanxiaoyao
*/
@Getter
@Setter

View File

@@ -30,7 +30,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
* </ul>
* </p>
*
* @author lanyuanxiaoyao
*/
@Getter
@Setter

View File

@@ -38,8 +38,6 @@ import org.springframework.util.ClassUtils;
* );
* </pre>
* </p>
*
* @author lanyuanxiaoyao
*/
public class DatabaseHelper {
public static void generateDDL(

View File

@@ -97,8 +97,6 @@ import org.springframework.data.repository.query.ListQueryByExampleExecutor;
* </p>
*
* @param <E> 实体类型
* @param <ID> 实体ID类型
* @author lanyuanxiaoyao
*/
@NoRepositoryBean
public interface SimpleRepository<E> extends FenixJpaRepository<E, Long>, FenixJpaSpecificationExecutor<E>, ListQueryByExampleExecutor<E>, ListQuerydslPredicateExecutor<E> {

View File

@@ -91,7 +91,6 @@ import org.springframework.data.domain.Sort;
* </p>
*
* @param <ENTITY> 实体类型必须继承SimpleEntity
* @author lanyuanxiaoyao
*/
@Slf4j
public abstract class SimpleServiceSupport<ENTITY extends SimpleEntity> implements SimpleService<ENTITY> {

View File

@@ -11,8 +11,6 @@ import org.springframework.util.Assert;
/**
* Helper测试类
* 用于测试驼峰命名法转下划线命名法的功能
*
* @author lanyuanxiaoyao
*/
@Slf4j
public class HelperTest {

View File

@@ -26,10 +26,6 @@ import org.springframework.web.client.RestTemplate;
import tools.jackson.databind.JsonNode;
import tools.jackson.databind.ObjectMapper;
/**
* @author lanyuanxiaoyao
* @version 20250814
*/
@SpringBootApplication
@EnableFenix
@EnableJpaAuditing