mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 08:57:16 +08:00
style: 适配 ContiNew Starter QueryTypeEnum 命名变更
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.annotation.Query;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryTypeEnum;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryType;
|
||||
|
||||
/**
|
||||
* 登录日志查询条件
|
||||
@@ -56,7 +56,7 @@ public class LoginLogQuery implements Serializable {
|
||||
* 登录时间
|
||||
*/
|
||||
@Schema(description = "登录时间", example = "2023-08-08 00:00:00,2023-08-08 23:59:59")
|
||||
@Query(type = QueryTypeEnum.BETWEEN)
|
||||
@Query(type = QueryType.BETWEEN)
|
||||
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||
private List<Date> createTime;
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.annotation.Query;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryTypeEnum;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryType;
|
||||
|
||||
/**
|
||||
* 操作日志查询条件
|
||||
@@ -49,7 +49,7 @@ public class OperationLogQuery implements Serializable {
|
||||
* 操作内容
|
||||
*/
|
||||
@Schema(description = "操作内容", example = "新增数据")
|
||||
@Query(type = QueryTypeEnum.INNER_LIKE)
|
||||
@Query(type = QueryType.INNER_LIKE)
|
||||
private String description;
|
||||
|
||||
/**
|
||||
@@ -63,7 +63,7 @@ public class OperationLogQuery implements Serializable {
|
||||
* 操作时间
|
||||
*/
|
||||
@Schema(description = "操作时间", example = "2023-08-08 00:00:00,2023-08-08 23:59:59")
|
||||
@Query(type = QueryTypeEnum.BETWEEN)
|
||||
@Query(type = QueryType.BETWEEN)
|
||||
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||
private List<Date> createTime;
|
||||
|
||||
|
@@ -30,7 +30,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.annotation.Query;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryTypeEnum;
|
||||
import top.charles7c.continew.starter.data.mybatis.plus.enums.QueryType;
|
||||
|
||||
/**
|
||||
* 系统日志查询条件
|
||||
@@ -49,7 +49,7 @@ public class SystemLogQuery implements Serializable {
|
||||
* 创建时间
|
||||
*/
|
||||
@Schema(description = "创建时间", example = "2023-08-08 00:00:00,2023-08-08 23:59:59")
|
||||
@Query(type = QueryTypeEnum.BETWEEN)
|
||||
@Query(type = QueryType.BETWEEN)
|
||||
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||
private List<Date> createTime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user