Merge remote-tracking branch 'origin/master'

This commit is contained in:
sxu 2025-07-04 15:37:41 +08:00
commit 496d8761cc
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;
}
} }