Merge pull request '[1122]DESINGの見積excel様式の追加 - 견적서 추가' (#141) from feature/cha into dev
Reviewed-on: #141
This commit is contained in:
commit
a12a753ec5
@ -1619,6 +1619,13 @@ public class EstimateService {
|
|||||||
if (estimateRequest.getSchDrawingFlg().indexOf("4") < 0) {
|
if (estimateRequest.getSchDrawingFlg().indexOf("4") < 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ("EXCEL2".equals(estimateRequest.getSchDownload())) {
|
||||||
|
workbook.removeSheetAt(workbook.getSheetIndex("特異事項"));
|
||||||
|
workbook.removeSheetAt(workbook.getSheetIndex("発電シミュレーション"));
|
||||||
|
workbook.removeSheetAt(workbook.getSheetIndex("割付図・系統図"));
|
||||||
|
workbook.removeSheetAt(workbook.getSheetIndex("架台図"));
|
||||||
|
}
|
||||||
|
|
||||||
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
||||||
workbook.write(byteArrayOutputStream);
|
workbook.write(byteArrayOutputStream);
|
||||||
excelBytes = byteArrayOutputStream.toByteArray();
|
excelBytes = byteArrayOutputStream.toByteArray();
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user