Skip to content

Commit

Permalink
add apply id support
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanxu90 committed Oct 22, 2020
1 parent c6c44e1 commit c0bbd22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public void doPreProcess(Context context, InboundPackage inboundPackage, Outboun
}
context.setCaseId(batchInferenceRequest.getCaseid());
context.setServiceId(batchInferenceRequest.getServiceId());
if (batchInferenceRequest.getApplyId() != null) {
context.setApplyId(batchInferenceRequest.getApplyId());
}
} catch (Exception e) {
throw new GuestInvalidParamException(e.getMessage());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public void doPreProcess(Context context, InboundPackage inboundPackage, Outboun
}
context.setCaseId(inferenceRequest.getCaseid());
context.setServiceId(inferenceRequest.getServiceId());
if (inferenceRequest.getApplyId() != null) {
context.setApplyId(inferenceRequest.getApplyId());
}
} catch (Exception e) {
throw new GuestInvalidParamException(e.getMessage());
}
Expand Down

0 comments on commit c0bbd22

Please sign in to comment.