String wsdlUrl = new KmReviewConfigNotify().getFdGHBAddress()+ResourceUtil.getString("GHTodoServiceSyn.address","yfd");
wsdlUrl += "?userName" + UserUtil.getUser().getLoginName();
wsdlUrl += "&page="+0;
wsdlUrl += "&size="+rowsize;
HttpClient client = HttpClientUtil.createClient();
HttpMethod mehthod = HttpClientUtil.createGetMethod(wsdlUrl);
JSONObejct rtnData = JSONObject.fromObject(result);
if(StringUtil.isNotNull(result) || result.contains("\"error\"")){
throw new RuntimeException("管会系统异常!");
}
if(!(rtnData.isNullObject())){
net.sf.json.JSON notifyJSON = (JSON) rtnData.get("ssoApprovalDtoList");
if(!notifyJSON.equals(null)){
JSONArray notifyList = (JSONArray) rtnData.get("ssoApprovalDtoList");
for(int i=0;i<notifyList.size();i++){
com.alibaba.fastjsonJSONObject notifyJson = com.alibaba.fastjson.JSONObject.parseObject(notifyList.get(i).toString());
String title = (String) notifyJson.get("title");
}
}
}