From 657466e3e83fced373dc4a501766a844c15fa9d6 Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Thu, 04 Sep 2025 15:08:46 +0800
Subject: [PATCH] 骑手上传送达图片
---
oying-system/src/main/java/com/oying/modules/pc/category/domain/dto/PlatformCategoryQueryCriteria.java | 31 +++++++++++++++++++++++++------
1 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/domain/dto/PlatformCategoryQueryCriteria.java b/oying-system/src/main/java/com/oying/modules/pc/category/domain/dto/PlatformCategoryQueryCriteria.java
index 3ed3ef2..ee3126f 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/category/domain/dto/PlatformCategoryQueryCriteria.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/category/domain/dto/PlatformCategoryQueryCriteria.java
@@ -1,17 +1,32 @@
package com.oying.modules.pc.category.domain.dto;
-import lombok.Data;
+import com.oying.utils.DateUtil;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.time.LocalDateTime;
/**
-* @author lzp
-* @date 2025-04-30
-**/
+ * @author lzp
+ * @date 2025-04-30
+ **/
@Data
-public class PlatformCategoryQueryCriteria{
+public class PlatformCategoryQueryCriteria {
+
+ @ApiModelProperty(value = "模糊查询")
+ private String blurry;
@ApiModelProperty(value = "是否启用", example = "1")
- private Integer active = 1;
+ private Integer active;
+
+ @ApiModelProperty(value = "开始时间", example = "2025-06-03 00:00:00")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private LocalDateTime createStart;
+
+ @ApiModelProperty(value = "结束时间", example = "2025-06-03 23:59:59")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private LocalDateTime createEnd;
@ApiModelProperty(value = "页码", example = "1")
private Integer page = 1;
@@ -19,4 +34,8 @@
@ApiModelProperty(value = "每页数据量", example = "10")
private Integer size = 10;
+ public static void main(String[] args) {
+ System.out.println(DateUtil.getTimeStamp(DateUtil.parseLocalDateTimeFormat("2025-04-30 18:21:22", "yyyy-MM-dd HH:mm:ss")));
+ }
+
}
--
Gitblit v1.9.3