Merge branch 'develop' of 10.10.31.70:/ervu-eks into develop
This commit is contained in:
commit
b523d465ed
1 changed files with 7 additions and 1 deletions
|
|
@ -66,7 +66,13 @@ public class ConfigExecutorService {
|
|||
public String call(String methodPath, ConfigExecuteRequest configExecuteRequest) {
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.setContentType(MediaType.APPLICATION_JSON);
|
||||
HttpEntity<ConfigExecuteRequest> entity = new HttpEntity<>(configExecuteRequest, headers);
|
||||
HttpEntity<?> entity;
|
||||
if (configExecuteRequest.getStartDate() == null && configExecuteRequest.getStartDate() == null) {
|
||||
entity = new HttpEntity<>(configExecuteRequest.getIds(), headers);
|
||||
}
|
||||
else {
|
||||
entity = new HttpEntity<>(configExecuteRequest, headers);
|
||||
}
|
||||
LOGGER.info("Starts call config executor service with method: {}, for request: {}", methodPath,
|
||||
configExecuteRequest
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue