|
@@ -379,7 +379,7 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
public RESTfulResult excleExport(@RequestBody Map<String,Object> map, HttpServletRequest httpServletRequest) throws IOException {
|
|
public RESTfulResult excleExport(@RequestBody Map<String,Object> map, HttpServletRequest httpServletRequest) throws IOException {
|
|
|
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(map));
|
|
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(map));
|
|
|
jsonObject.putAll( JSONObject.parseObject(JSONObject.toJSONString(map.get("requestQuery"))));
|
|
jsonObject.putAll( JSONObject.parseObject(JSONObject.toJSONString(map.get("requestQuery"))));
|
|
|
- String url = "http://localhost:8080"+map.get("requestUrl").toString() + "&pageNum=1&pageSize=10000";
|
|
|
|
|
|
|
+ String url = "http://172.16.90.202:80"+map.get("requestUrl").toString() + "&pageNum=1&pageSize=10000";
|
|
|
JSONObject json = HttpUtil.sendPost(url,jsonObject,httpServletRequest.getHeader("cookie"));
|
|
JSONObject json = HttpUtil.sendPost(url,jsonObject,httpServletRequest.getHeader("cookie"));
|
|
|
Map<String, Object> data = (Map<String, Object>) json.get("data");
|
|
Map<String, Object> data = (Map<String, Object>) json.get("data");
|
|
|
List<Map<String,Object>> listMap = (List<Map<String, Object>>) data.get("list");
|
|
List<Map<String,Object>> listMap = (List<Map<String, Object>>) data.get("list");
|