Merge Q-CAST-III-MR-104: 견적서 첨부파일 다운로드 API 수정
This commit is contained in:
commit
47400ec0d6
@ -421,7 +421,11 @@ public class ObjectService {
|
|||||||
inputStream = new BufferedInputStream(new FileInputStream(file));
|
inputStream = new BufferedInputStream(new FileInputStream(file));
|
||||||
|
|
||||||
FileCopyUtils.copy(inputStream, response.getOutputStream());
|
FileCopyUtils.copy(inputStream, response.getOutputStream());
|
||||||
|
} else {
|
||||||
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user