|
@@ -130,6 +130,7 @@ public class JiaoYangFenXiaoJob {
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 当天前前小时数据获取
|
|
|
**/
|
|
@@ -150,7 +151,7 @@ public class JiaoYangFenXiaoJob {
|
|
|
Integer nowHour = DateUtils.getNowHour();
|
|
|
for (int i = 0; i < hourList.size(); i++) {
|
|
|
String hour = hourList.getString(i);
|
|
|
- Integer integer = Integer.valueOf(hour);
|
|
|
+ Integer integer = Integer.valueOf(hour.replace(":","").replace(" ",""));
|
|
|
if (integer <= nowHour) {
|
|
|
for (int j = 0; j < minSecList.size(); j++) {
|
|
|
JSONObject minSecJson = minSecList.getJSONObject(j);
|