|
@@ -233,12 +233,12 @@ public class ICenterMiddlewareWebServiceImp implements ICenterMiddlewareWebServi
|
|
|
if (null == vo.getData_value() || StringUtils.isEmpty(vo.getData_time())) {
|
|
|
continue;
|
|
|
}
|
|
|
- Double data = dataMap.get(DateUtils.str2Date(vo.getData_time(), DateUtils.SDF_SECOND));
|
|
|
+ Double data = dataMap.get(DateUtils.str2Date(vo.getData_time(), DateUtils.SDFSECOND));
|
|
|
if (null == data) {
|
|
|
data = 0.0;
|
|
|
}
|
|
|
data = data + vo.getData_value();
|
|
|
- dataMap.put(DateUtils.str2Date(vo.getData_time(), DateUtils.SDF_SECOND), data);
|
|
|
+ dataMap.put(DateUtils.str2Date(vo.getData_time(), DateUtils.SDFSECOND), data);
|
|
|
}
|
|
|
}
|
|
|
}
|