|
@@ -180,7 +180,7 @@ public class JobService {
|
|
ResponseEntity<String> response2 = template.postForEntity(url, httpEntity, String.class);
|
|
ResponseEntity<String> response2 = template.postForEntity(url, httpEntity, String.class);
|
|
String originStr = response2.getBody();
|
|
String originStr = response2.getBody();
|
|
JSONArray array = JSON.parseArray(originStr);
|
|
JSONArray array = JSON.parseArray(originStr);
|
|
- List<String> workers2 = array.stream().map( s-> ((JSONObject)s).get("id").toString() ).collect(Collectors.toList());
|
|
|
|
|
|
+ List<String> workers2 = array.stream().map( s-> ((JSONObject)s).get("original_id").toString() ).collect(Collectors.toList());
|
|
return workers2;
|
|
return workers2;
|
|
}
|
|
}
|
|
|
|
|