...
|
...
|
@@ -162,12 +162,13 @@ public class ActivateUnionRest { |
|
|
String deviceType = mul[1];
|
|
|
int beginTime = Integer.parseInt(mul[2]);
|
|
|
int endTime = Integer.parseInt(mul[3]);
|
|
|
int poolDate = Integer.parseInt(mul[4]);
|
|
|
|
|
|
Map<String, List<String>> resultMap = new HashMap<>();
|
|
|
for (int i = 1; i < array.length; i++) {
|
|
|
String deviceId = array[i];
|
|
|
log.info("fixUnion deviceId is {}", deviceId);
|
|
|
UnionResponse resp = fixService.fixUnion(unionType, beginTime, endTime, deviceType, deviceId);
|
|
|
UnionResponse resp = fixService.fixUnion(unionType, beginTime, endTime, poolDate, deviceType, deviceId);
|
|
|
log.info("fixUnion deviceId is {} result is {}", deviceId, resp);
|
|
|
List<String> uts = resultMap.get(resp.getMessage());
|
|
|
if (uts == null) {
|
...
|
...
|
@@ -176,7 +177,9 @@ public class ActivateUnionRest { |
|
|
}
|
|
|
uts.add(deviceId);
|
|
|
}
|
|
|
return JSON.toJSONString(resultMap);
|
|
|
String result = JSON.toJSONString(resultMap);
|
|
|
log.info("fixUnion all result is {}", result);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
private UnionResponse getGoUrl(ActivateUnionRequestBO bo){
|
...
|
...
|
|