Commit 7d24b368 authored by 黎博's avatar 黎博

fix bug

parent 350bd45d
......@@ -610,6 +610,10 @@ public class MainProcess {
JSONObject result = HttpClientUtils.doGetReturnJson(url, null, headers);
System.out.println(result);
Map data = (Map) result.get("data");
// 如果未分配过资金方,直接返回false
if (data.isEmpty()) {
return false;
}
List<Map> dataList = (List<Map>) data.get(fundId.toString());
Date date = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
......
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