Browse Source

修改任务列表时间筛选接口

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
a14f6ea080
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionServiceImpl.java View File

@@ -94,7 +94,7 @@ public class InspectionServiceImpl implements IInspectionService {
IPage<InspectionInfoVo> pageDataVo = new Page<>(query.getPage(),query.getLimit());
Date startTime = null;
Date endTime = null;
if(null != query.getTime()){
if(StringUtils.isNotEmpty(query.getTime())){
startTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getTime()+" 00:00:00");
endTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getTime()+" 23:59:59");
}

Loading…
Cancel
Save