@@ -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.getStartTimeDate()){ | |||
if(null != 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"); | |||
} |
@@ -6,10 +6,10 @@ spring: | |||
port: 8500 # consul 服务端口 | |||
discovery: | |||
# 是否启用服务发现 | |||
enabled: true | |||
enabled: false | |||
# 配置服务注册 | |||
register: true | |||
deregister: true | |||
register: false | |||
deregister: false | |||
## consul ip地址 | |||
hostname: 192.168.11.13 | |||
# 注册到consul的服务名称 |