mirror of
https://github.com/zfile-dev/zfile.git
synced 2026-08-30 17:47:31 +08:00
修复下载日志-删除所有页无响应 bug
This commit is contained in:
+2
-2
@@ -48,14 +48,14 @@ public class QueryDownloadLogRequest extends PageQueryRequest {
|
||||
private String orderBy = "create_time";
|
||||
|
||||
public Date getDateFrom() {
|
||||
if (searchDate == null) {
|
||||
if (searchDate == null || searchDate.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return DateUtil.beginOfDay(searchDate.getFirst());
|
||||
}
|
||||
|
||||
public Date getDateTo() {
|
||||
if (searchDate == null) {
|
||||
if (searchDate == null || searchDate.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return DateUtil.endOfDay(searchDate.getLast());
|
||||
|
||||
Reference in New Issue
Block a user