Commit cb00966a authored by Deep Dey's avatar Deep Dey

feat: update response for interaction excel

parent 72dddea7
...@@ -327,7 +327,7 @@ public class AdmissionFormController { ...@@ -327,7 +327,7 @@ public class AdmissionFormController {
@ApiResponse(code = 500, message = "Exception Occurred") @ApiResponse(code = 500, message = "Exception Occurred")
}) })
@ApiOperation(value = "") @ApiOperation(value = "")
public void downloadMasterInteractionExcel( public Object downloadMasterInteractionExcel(
HttpServletRequest request, HttpServletRequest request,
HttpServletResponse response, HttpServletResponse response,
@RequestParam("apikey") String apiKey, @RequestParam("apikey") String apiKey,
...@@ -349,6 +349,14 @@ public class AdmissionFormController { ...@@ -349,6 +349,14 @@ public class AdmissionFormController {
} }
//TODO: write logic to download excel //TODO: write logic to download excel
return new ResponseEntity<>(
new GeneralResponse(
true,
AppConstants.RESPONSE_SUCCESS_STATUS_CODE,
"Excel should be downloaded",
null
),
HttpStatus.OK);
// String output = templateService // String output = templateService
// .generateMasterInteractionTemplate(admissionFormDataList); // .generateMasterInteractionTemplate(admissionFormDataList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment