| | |
| | | } |
| | | |
| | | /** |
| | | * f.计算面积 |
| | | */ |
| | | public String calcArea(String sjfl, String id, String wjlj, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/数据占地面积计算", req); |
| | | |
| | | List<NameValueEntity> list = new ArrayList<>(); |
| | | list.add(new NameValueEntity("_name", String.format("%s_%s", "数据占地面积计算", StringHelper.YMDHMS2_FORMAT.format(new Date())))); |
| | | list.add(new NameValueEntity("_terminate_on_error", false)); |
| | | list.add(new NameValueEntity("_priority", 100)); |
| | | list.add(new NameValueEntity("SJFL", sjfl)); |
| | | list.add(new NameValueEntity("ID", id)); |
| | | list.add(new NameValueEntity("WJLJ", wjlj)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 获取Url |
| | | */ |
| | | public String getUrl(String subUrl, HttpServletRequest req) { |