Commit d7e54198 authored by wujiang's avatar wujiang

修改日期解析

parent 8ce016da
...@@ -112,8 +112,8 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth ...@@ -112,8 +112,8 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth
startTime = sdf.format(currentDayStartTime); startTime = sdf.format(currentDayStartTime);
endTime= sdf.format(currentDayEndTime); endTime= sdf.format(currentDayEndTime);
}else{ }else{
Date currentDayStartTime =dateFormat.parse(startTime); Date currentDayStartTime =DateUtils.dateParse(startTime);
Date currentDayEndTime = dateFormat.parse(endTime); Date currentDayEndTime = DateUtils.dateParse(endTime);
startTime = sdf.format(currentDayStartTime); startTime = sdf.format(currentDayStartTime);
endTime= sdf.format(currentDayEndTime); endTime= sdf.format(currentDayEndTime);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment