Parcourir la source

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
chengwang il y a 1 an
Parent
révision
69fc3690f7
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. +5
    -3
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/query/QueryWarningPageListService.java

+ 5
- 3
tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/query/QueryWarningPageListService.java Voir le fichier

@@ -62,8 +62,8 @@ public class QueryWarningPageListService {
Date startTime = null;
Date endTime = null;
if (StringUtils.isNotEmpty(query.getStartTime()) && StringUtils.isNotEmpty(query.getEndTime())) {
startTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SSS,query.getStartTime()+" 00:00:00");
endTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SSS,query.getEndTime()+" 23:59:59");
startTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getStartTime()+" 00:00:00");
endTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getEndTime()+" 23:59:59");
}
query.setWaringStartTime(startTime);
query.setWaringEndTime(endTime);
@@ -107,8 +107,10 @@ public class QueryWarningPageListService {
}
return vo;
}).collect(Collectors.toList());
pageData.setPages(warningPageData.getPages());
pageData.setRecords(collect);

pageData.setTotal(warningPageData.getTotal());
pageData.setCurrent(warningPageData.getCurrent());
return JsonResult.success(pageData);
}
}

Chargement…
Annuler
Enregistrer