|
|
|
@ -170,11 +170,11 @@ public class KkotalkEltrcDocService extends AbstractService implements
|
|
|
|
|
public KkotalkDocDTO.EnvelopeStatusResponse findStatus(final KkotalkDocDTO.EnvelopeId reqDTO){
|
|
|
|
|
validate(reqDTO, null);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String param = "{\"envelopeIds\":" + JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())) + "}";
|
|
|
|
|
KkotalkDTO.BulkStatusResponse res = webClient.exchangeKkotalk(
|
|
|
|
|
HOST + API_BULKSTATUS[0],
|
|
|
|
|
HttpMethod.valueOf(API_BULKSTATUS[1]),
|
|
|
|
|
JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())),
|
|
|
|
|
param,
|
|
|
|
|
KkotalkDTO.BulkStatusResponse.class,
|
|
|
|
|
getRlaybsnmInfo(reqDTO));
|
|
|
|
|
return res.getEnvelopeStatus().get(0);
|
|
|
|
|