Explorar el Código

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

tags/v1.0.0^2
chengwang hace 1 año
padre
commit
a14f6ea080
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar