Parcourir la source

修改获取工单列表(分页) 时间筛选失效问题

tags/v1.1.0^2
wanghaoran il y a 1 an
Parent
révision
c7a43770ed
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/WorkOrderServiceImpl.java

+ 2
- 2
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/WorkOrderServiceImpl.java Voir le fichier

@@ -69,8 +69,8 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
Date startDate = null;
Date endDate = null;
if(StringUtils.isNotEmpty(request.getCreateStartTime()) && StringUtils.isNotEmpty(request.getCreateEndTime())){
String startTime = request.getCreateStartTime() + "00:00:00";
String endTime = request.getCreateEndTime() + "23:59:59";
String startTime = request.getCreateStartTime() + " 00:00:00";
String endTime = request.getCreateEndTime() + " 23:59:59";
startDate = DateUtils.dateTime(DateUtils.YYYY_MM_DD, startTime);
endDate = DateUtils.dateTime(DateUtils.YYYY_MM_DD, endTime);
}

Chargement…
Annuler
Enregistrer