refactor: 移除所有文件中的 @author 注释
移除所有 Java 文件中的 @author lanyuanxiaoyao 注释,统一代码风格。
This commit is contained in:
@@ -54,7 +54,6 @@ import java.util.Map;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param <QUERY_ITEM> 查询结果的实体类型
|
* @param <QUERY_ITEM> 查询结果的实体类型
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface QueryController<QUERY_ITEM> {
|
public interface QueryController<QUERY_ITEM> {
|
||||||
String LIST = "/list";
|
String LIST = "/list";
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ package com.lanyuanxiaoyao.service.template.common.controller;
|
|||||||
* DELETE /remove/1
|
* DELETE /remove/1
|
||||||
* </pre>
|
* </pre>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface RemoveController {
|
public interface RemoveController {
|
||||||
String REMOVE = "/remove/{id}";
|
String REMOVE = "/remove/{id}";
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ package com.lanyuanxiaoyao.service.template.common.controller;
|
|||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface SaveController<SAVE_ITEM> {
|
public interface SaveController<SAVE_ITEM> {
|
||||||
String SAVE = "/save";
|
String SAVE = "/save";
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import java.util.stream.Stream;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页
|
* 分页
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
* @version 20260106
|
|
||||||
*/
|
*/
|
||||||
public record Page<ENTITY>(Stream<ENTITY> items, long total) {
|
public record Page<ENTITY>(Stream<ENTITY> items, long total) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import java.util.Set;
|
|||||||
* 查询服务接口,用于定义统一的查询实体详情和列表的服务规范
|
* 查询服务接口,用于定义统一的查询实体详情和列表的服务规范
|
||||||
*
|
*
|
||||||
* @param <ENTITY> 实体类型
|
* @param <ENTITY> 实体类型
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface QueryService<ENTITY> {
|
public interface QueryService<ENTITY> {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ package com.lanyuanxiaoyao.service.template.common.service;
|
|||||||
* 删除服务接口,用于定义统一的删除实体对象的服务规范
|
* 删除服务接口,用于定义统一的删除实体对象的服务规范
|
||||||
*
|
*
|
||||||
* @param <ENTITY> 实体类型
|
* @param <ENTITY> 实体类型
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface RemoveService<ENTITY> {
|
public interface RemoveService<ENTITY> {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ package com.lanyuanxiaoyao.service.template.common.service;
|
|||||||
* 保存服务接口,用于定义统一的保存实体对象的服务规范
|
* 保存服务接口,用于定义统一的保存实体对象的服务规范
|
||||||
*
|
*
|
||||||
* @param <ENTITY> 实体类型
|
* @param <ENTITY> 实体类型
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public interface SaveService<ENTITY> {
|
public interface SaveService<ENTITY> {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -93,7 +93,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
* @param <SAVE_ITEM> 保存项类型
|
* @param <SAVE_ITEM> 保存项类型
|
||||||
* @param <LIST_ITEM> 列表项类型
|
* @param <LIST_ITEM> 列表项类型
|
||||||
* @param <DETAIL_ITEM> 详情项类型
|
* @param <DETAIL_ITEM> 详情项类型
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public abstract class SimpleControllerSupport<ENTITY extends SimpleEntity, SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> implements SimpleController<SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> {
|
public abstract class SimpleControllerSupport<ENTITY extends SimpleEntity, SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> implements SimpleController<SAVE_ITEM, LIST_ITEM, DETAIL_ITEM> {
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
|||||||
* <li>@Comment: 为数据库字段添加注释</li>
|
* <li>@Comment: 为数据库字段添加注释</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
|||||||
* </ul>
|
* </ul>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ import org.springframework.util.ClassUtils;
|
|||||||
* );
|
* );
|
||||||
* </pre>
|
* </pre>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
public class DatabaseHelper {
|
public class DatabaseHelper {
|
||||||
public static void generateDDL(
|
public static void generateDDL(
|
||||||
|
|||||||
@@ -97,8 +97,6 @@ import org.springframework.data.repository.query.ListQueryByExampleExecutor;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param <E> 实体类型
|
* @param <E> 实体类型
|
||||||
* @param <ID> 实体ID类型
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@NoRepositoryBean
|
@NoRepositoryBean
|
||||||
public interface SimpleRepository<E> extends FenixJpaRepository<E, Long>, FenixJpaSpecificationExecutor<E>, ListQueryByExampleExecutor<E>, ListQuerydslPredicateExecutor<E> {
|
public interface SimpleRepository<E> extends FenixJpaRepository<E, Long>, FenixJpaSpecificationExecutor<E>, ListQueryByExampleExecutor<E>, ListQuerydslPredicateExecutor<E> {
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ import org.springframework.data.domain.Sort;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param <ENTITY> 实体类型,必须继承SimpleEntity
|
* @param <ENTITY> 实体类型,必须继承SimpleEntity
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public abstract class SimpleServiceSupport<ENTITY extends SimpleEntity> implements SimpleService<ENTITY> {
|
public abstract class SimpleServiceSupport<ENTITY extends SimpleEntity> implements SimpleService<ENTITY> {
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ import org.springframework.util.Assert;
|
|||||||
/**
|
/**
|
||||||
* Helper测试类
|
* Helper测试类
|
||||||
* 用于测试驼峰命名法转下划线命名法的功能
|
* 用于测试驼峰命名法转下划线命名法的功能
|
||||||
*
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class HelperTest {
|
public class HelperTest {
|
||||||
|
|||||||
@@ -26,10 +26,6 @@ import org.springframework.web.client.RestTemplate;
|
|||||||
import tools.jackson.databind.JsonNode;
|
import tools.jackson.databind.JsonNode;
|
||||||
import tools.jackson.databind.ObjectMapper;
|
import tools.jackson.databind.ObjectMapper;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author lanyuanxiaoyao
|
|
||||||
* @version 20250814
|
|
||||||
*/
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableFenix
|
@EnableFenix
|
||||||
@EnableJpaAuditing
|
@EnableJpaAuditing
|
||||||
|
|||||||
Reference in New Issue
Block a user