订单查询修改

This commit is contained in:
gaowdong 2025-07-04 15:30:32 +08:00
parent d14ccd5773
commit 08e1156152
1 changed files with 28 additions and 0 deletions

View File

@ -143,4 +143,32 @@ public class OrderQueryParam implements Serializable
this.encryptedCustSearchValue = SM4EncryptUtils.sm4Encrypt(custSearchInfo); this.encryptedCustSearchValue = SM4EncryptUtils.sm4Encrypt(custSearchInfo);
} }
} }
public LocalDateTime getStartDateTime() {
if (this.startDateTime == null) {
this.startDateTime = LocalDateTime.now().minusDays(7);
}
return startDateTime;
}
public LocalDateTime getEndDateTime() {
if (this.endDateTime == null) {
this.endDateTime = LocalDateTime.now().plusDays(7);
}
return endDateTime;
}
public LocalDate getStartDate() {
if (this.startDate == null) {
this.startDate = LocalDate.now().minusDays(7);
}
return startDate;
}
public LocalDate getEndDate() {
if (this.endDate == null) {
this.endDate = LocalDate.now().plusDays(7);
}
return endDate;
}
} }