瀏覽代碼

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

tags/v1.1.0^2
wanghaoran 1 年之前
父節點
當前提交
c7a43770ed
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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);
}

Loading…
取消
儲存