From 19dd09c5bebbc19f30da1e2a0959a474568ed311 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Mon, 15 Sep 2025 11:33:26 +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