From 4bec1232a9e09769eb5e7aa8aeb035b24c4d8800 Mon Sep 17 00:00:00 2001 From: zhangke Date: Thu, 11 Sep 2025 12:14:23 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E9=9B=B6=E9=83=A8=E4=BB=B6=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E5=8D=95=E6=90=9C=E7=B4=A2=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/pojo/qo/ComponentOutboundQO.java | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/qo/ComponentOutboundQO.java b/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/qo/ComponentOutboundQO.java index 1b2d9b53..59000177 100644 --- a/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/qo/ComponentOutboundQO.java +++ b/nflg-wms-common/src/main/java/com/nflg/wms/common/pojo/qo/ComponentOutboundQO.java @@ -1,6 +1,14 @@ package com.nflg.wms.common.pojo.qo; -public class ComponentOutboundQO extends SearchBaseQO { +import lombok.Data; +import lombok.experimental.Accessors; + +import java.time.LocalDate; +import java.time.LocalDateTime; + +@Data +@Accessors(chain = true) +public class ComponentOutboundQO extends PageQO { /** * 装箱号 */ @@ -36,4 +44,18 @@ public class ComponentOutboundQO extends SearchBaseQO { * 出库单号 */ private String outboundNo; + + /** + * 开始时间 + */ + private LocalDateTime startDate; + + /** + * 结束时间 + */ + private LocalDateTime endDate; + + public LocalDateTime getEndDate() { + return endDate == null ? null : endDate.plusDays(1); + } }