다운로드 할 파일이 없는 경우 Exception 처리하지 않고 완료
This commit is contained in:
parent
ffaefce13d
commit
c2a5ac72b8
@ -67,7 +67,12 @@ public class ExcelDownController {
|
|||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
public void warrantyIssuedCmpFileDown(@RequestBody WrntIsncCmplRequest wrntIsncCmplRequest,
|
public void warrantyIssuedCmpFileDown(@RequestBody WrntIsncCmplRequest wrntIsncCmplRequest,
|
||||||
HttpServletResponse response) throws Exception {
|
HttpServletResponse response) throws Exception {
|
||||||
|
try {
|
||||||
excelDownService.selectWarrantyIssuedCmpFileData(wrntIsncCmplRequest, response);
|
excelDownService.selectWarrantyIssuedCmpFileData(wrntIsncCmplRequest, response);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// 파일 이슈가 있어서 다운로드 되지 않도록 처리
|
||||||
|
log.error(e.getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user