xg
This commit is contained in:
parent
43e1cc6ec9
commit
82c9c22d1e
@ -196,6 +196,7 @@ public class GetFutDailyController {
|
|||||||
|
|
||||||
ArrayList<FutDaily> list = new ArrayList<FutDaily>();
|
ArrayList<FutDaily> list = new ArrayList<FutDaily>();
|
||||||
|
|
||||||
|
if(items!=null) {
|
||||||
for(JsonNode jsonNode : items) {
|
for(JsonNode jsonNode : items) {
|
||||||
FutDaily bean = new FutDaily();
|
FutDaily bean = new FutDaily();
|
||||||
bean.setTs_code(jsonNode.get(0).asText());
|
bean.setTs_code(jsonNode.get(0).asText());
|
||||||
@ -221,6 +222,7 @@ public class GetFutDailyController {
|
|||||||
bean.setOi_chg(jsonNode.get(14).asDouble());
|
bean.setOi_chg(jsonNode.get(14).asDouble());
|
||||||
list.add(bean);
|
list.add(bean);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if(!list.isEmpty()) {
|
if(!list.isEmpty()) {
|
||||||
dailyService.getCurr(i.getTs_code(), list);
|
dailyService.getCurr(i.getTs_code(), list);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user