Commit 821aabb1 authored by yexiong.wang's avatar yexiong.wang

fix

parent dae2301a
...@@ -18,6 +18,7 @@ import cn.quantgroup.customer.service.http.IHttpService; ...@@ -18,6 +18,7 @@ import cn.quantgroup.customer.service.http.IHttpService;
import cn.quantgroup.customer.util.IdUtil; import cn.quantgroup.customer.util.IdUtil;
import cn.quantgroup.user.retbean.XUser; import cn.quantgroup.user.retbean.XUser;
import cn.quantgroup.user.vo.UserSysResult; import cn.quantgroup.user.vo.UserSysResult;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.google.common.reflect.TypeToken; import com.google.common.reflect.TypeToken;
import com.querydsl.core.types.dsl.BooleanExpression; import com.querydsl.core.types.dsl.BooleanExpression;
...@@ -81,7 +82,7 @@ public class VccServiceImpl implements IVccService { ...@@ -81,7 +82,7 @@ public class VccServiceImpl implements IVccService {
return JsonResult.buildErrorStateResult("talos没有正确查询出结果"); return JsonResult.buildErrorStateResult("talos没有正确查询出结果");
} }
JSONObject data = jsonObject.getJSONObject("data"); JSONObject data = jsonObject.getJSONObject("data");
JSONObject list = data.getJSONObject("list"); JSONArray list = data.getJSONArray("list");
List<QueryPreOfflineRepayVo> voList = GSON.fromJson(list.toString(), new TypeToken<List<QueryPreOfflineRepayVo>>() { List<QueryPreOfflineRepayVo> voList = GSON.fromJson(list.toString(), new TypeToken<List<QueryPreOfflineRepayVo>>() {
}.getType()); }.getType());
for (int i = 0;i<voList.size();i++){ for (int i = 0;i<voList.size();i++){
......
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