|
@@ -63,6 +63,63 @@ public class ExcelExportUtil {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 导出电缆段长统计表信息
|
|
|
+ * @param response
|
|
|
+ * @param workbook
|
|
|
+ * @param list
|
|
|
+ */
|
|
|
+ public void exportCable(HttpServletResponse response, XSSFWorkbook workbook, List<Cable> list){
|
|
|
+ try {
|
|
|
+ int index = 1;//第一列序号
|
|
|
+ int rowNum = 2;//数据起始列
|
|
|
+ Sheet sheet = workbook.getSheetAt(0);
|
|
|
+ for(int i=0;i<list.size();i++){
|
|
|
+ Row row = sheet.createRow(rowNum+i);
|
|
|
+ Cell cell0 = crateCell(workbook,row,0); //序号
|
|
|
+ Cell cell1 = crateCell(workbook,row,3); //项目储备编号
|
|
|
+ Cell cell2 = crateCell(workbook,row,4); //项目名称
|
|
|
+ Cell cell3 = crateCell(workbook,row,5); //电缆规格型号
|
|
|
+ Cell cell4 = crateCell(workbook,row,6); //是否含土建
|
|
|
+ Cell cell5 = crateCell(workbook,row,7); //是否在现有管道施放电缆
|
|
|
+ Cell cell6 = crateCell(workbook,row,8); //是否完成通管
|
|
|
+ Cell cell7 = crateCell(workbook,row,9); //是否完成实测
|
|
|
+ Cell cell8 = crateCell(workbook,row,10); //实测长度
|
|
|
+ Cell cell9 = crateCell(workbook,row,11); //设计电缆段长
|
|
|
+ Cell cell10 = crateCell(workbook,row,12); //段长分类
|
|
|
+ Cell cell11 = crateCell(workbook,row,13); //项目经理
|
|
|
+ Cell cell12 = crateCell(workbook,row,14); //备注
|
|
|
+
|
|
|
+ Cable cable = list.get(i);
|
|
|
+
|
|
|
+ cell0.setCellValue(String.valueOf(index++));
|
|
|
+ cell1.setCellValue(cable.getProjectReserveId());
|
|
|
+ cell2.setCellValue(cable.getProjectName());
|
|
|
+ cell3.setCellValue(cable.getSpecifications());
|
|
|
+ cell4.setCellValue(cable.getCivilEngineer());
|
|
|
+ cell5.setCellValue(cable.getPipeLayeCable());
|
|
|
+ cell6.setCellValue(cable.getCompletePipe());
|
|
|
+ cell7.setCellValue(cable.getCompleteMeasurement());
|
|
|
+ cell8.setCellValue(cable.getMeasureLength());
|
|
|
+ cell9.setCellValue(cable.getDesignCableLength());
|
|
|
+ cell10.setCellValue(cable.getSegmentLengthClassinication());
|
|
|
+ cell11.setCellValue(cable.getProjectManager());
|
|
|
+ cell12.setCellValue(cable.getRemarks());
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ String str = URLEncoder.encode("储备项目电缆段长统计表.xlsx", "UTF8");
|
|
|
+ response.setHeader("Content-Disposition", "attachment;filename="+str);
|
|
|
+ response.setContentType("application/vnd.ms-excel;charset=UTF-8");
|
|
|
+ OutputStream outputStream = response.getOutputStream();
|
|
|
+ workbook.write(outputStream);
|
|
|
+ outputStream.flush();
|
|
|
+ outputStream.close();
|
|
|
+ } catch (IOException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 导出储备项目概预算统计表信息
|
|
|
* @param response
|
|
|
* @param workbook
|
|
@@ -97,28 +154,41 @@ public class ExcelExportUtil {
|
|
|
Cell cell19 = crateCell(workbook,row,19); //储备进度
|
|
|
Cell cell20 = crateCell(workbook,row,20); //是否纳入实施计划
|
|
|
Cell cell21 = crateCell(workbook,row,21); //初定实施批次
|
|
|
- Cell cell22 = crateCell(workbook,row,22); //审前总概算金额(含税)
|
|
|
- Cell cell23 = crateCell(workbook,row,23); //审前总概算金额(不含税)
|
|
|
- Cell cell24 = crateCell(workbook,row,24); //审前可抵扣金额(税金)
|
|
|
- Cell cell25 = crateCell(workbook,row,25); //审前施工费(含税)
|
|
|
- Cell cell26 = crateCell(workbook,row,26); //审前甲供物资金额(含税)
|
|
|
- Cell cell27 = crateCell(workbook,row,27); //审前其他费用(含税)
|
|
|
- Cell cell28 = crateCell(workbook,row,28); //审前前期工程费(含税)
|
|
|
- Cell cell29 = crateCell(workbook,row,29); //审前勘察费(含税)
|
|
|
- Cell cell30 = crateCell(workbook,row,30); //审前设计费(含税)
|
|
|
- Cell cell31 = crateCell(workbook,row,31); //审前监理费(含税)
|
|
|
- Cell cell32 = crateCell(workbook,row,32); //审后总概算金额(含税)
|
|
|
- Cell cell33 = crateCell(workbook,row,33); //审后总概算金额(不含税)
|
|
|
- Cell cell34 = crateCell(workbook,row,34); //审后可抵扣金额(税金)
|
|
|
- Cell cell35 = crateCell(workbook,row,35); //审后施工费(含税)
|
|
|
- Cell cell36 = crateCell(workbook,row,36); //审后甲供物资金额(含税)
|
|
|
- Cell cell37 = crateCell(workbook,row,37); //审后其他费用(含税)
|
|
|
- Cell cell38 = crateCell(workbook,row,38); //审后前期工程费(含税)
|
|
|
- Cell cell39 = crateCell(workbook,row,39); //审后勘察费(含税)
|
|
|
- Cell cell40 = crateCell(workbook,row,40); //审后设计费(含税)
|
|
|
- Cell cell41 = crateCell(workbook,row,41); //审后监理费(含税)
|
|
|
- Cell cell42 = crateCell(workbook,row,42); //是否完成概算修改
|
|
|
- Cell cell43 = crateCell(workbook,row,43); //概算修改完成时间
|
|
|
+
|
|
|
+ Cell cell22 = crateCell(workbook,row,22); //项目下达批次
|
|
|
+ Cell cell23 = crateCell(workbook,row,23); //业主项目经理
|
|
|
+ Cell cell24 = crateCell(workbook,row,24); //现场施工管理单位
|
|
|
+ Cell cell25 = crateCell(workbook,row,25); //施工项目经理(电气)
|
|
|
+ Cell cell26 = crateCell(workbook,row,26); //施工项目经理(土建)
|
|
|
+ Cell cell27 = crateCell(workbook,row,27); //电气分包单位
|
|
|
+ Cell cell28 = crateCell(workbook,row,28); //电气联系人、联系电话
|
|
|
+ Cell cell29 = crateCell(workbook,row,29); //土建分包单位
|
|
|
+ Cell cell30 = crateCell(workbook,row,30); //土建联系人、联系电话
|
|
|
+ Cell cell31 = crateCell(workbook,row,31); //备注
|
|
|
+ Cell cell32 = crateCell(workbook,row,32); //总概算金额(含税)
|
|
|
+ Cell cell33 = crateCell(workbook,row,33); //总概算金额(不含税)
|
|
|
+ Cell cell34 = crateCell(workbook,row,34); //可抵扣金额(税金)
|
|
|
+ Cell cell35 = crateCell(workbook,row,35); //施工费(含税)
|
|
|
+ Cell cell36 = crateCell(workbook,row,36); //甲供物资金额(含税)
|
|
|
+ Cell cell37 = crateCell(workbook,row,37); //其他费用(含税)
|
|
|
+ Cell cell38 = crateCell(workbook,row,38); //前期工程费(含税)
|
|
|
+ Cell cell39 = crateCell(workbook,row,39); //勘察费(含税)
|
|
|
+ Cell cell40 = crateCell(workbook,row,40); //设计费(含税)
|
|
|
+ Cell cell41 = crateCell(workbook,row,41); //监理费(含税)
|
|
|
+ Cell cell42 = crateCell(workbook,row,42); //总概算金额(含税)
|
|
|
+ Cell cell43 = crateCell(workbook,row,43); //总概算金额(不含税)
|
|
|
+ Cell cell44 = crateCell(workbook,row,44); //可抵扣金额(税金)
|
|
|
+ Cell cell45 = crateCell(workbook,row,45); //施工费(含税)
|
|
|
+ Cell cell46 = crateCell(workbook,row,46); //甲供物资金额(含税)
|
|
|
+ Cell cell47 = crateCell(workbook,row,47); //其他费用(含税)
|
|
|
+ Cell cell48 = crateCell(workbook,row,48); //前期工程费(含税)
|
|
|
+ Cell cell49 = crateCell(workbook,row,49); //勘察费(含税)
|
|
|
+ Cell cell50 = crateCell(workbook,row,50); //设计费(含税)
|
|
|
+ Cell cell51 = crateCell(workbook,row,51); //监理费(含税)
|
|
|
+ Cell cell52 = crateCell(workbook,row,52); //是否完成概算修改
|
|
|
+ Cell cell53 = crateCell(workbook,row,53); //概算修改完成时间
|
|
|
+ Cell cell54 = crateCell(workbook,row,54); //是否有设计变更
|
|
|
+ Cell cell55 = crateCell(workbook,row,55); //设计变更状态
|
|
|
|
|
|
BudgetStats budgetStats = list.get(i);
|
|
|
|
|
@@ -140,36 +210,49 @@ public class ExcelExportUtil {
|
|
|
cell15.setCellValue(budgetStats.getNetRackProjectDivide());
|
|
|
cell16.setCellValue(budgetStats.getRequirementType());
|
|
|
|
|
|
- String costEstimateStr= budgetStats.getCostEstimate().toString();
|
|
|
- if(StringUtils.isNotBlank(costEstimateStr)){
|
|
|
+ String costEstimateStr= budgetStats.getCostEstimate();
|
|
|
+ if(StringUtils.isNotEmpty(costEstimateStr)){
|
|
|
cell17.setCellValue(Double.parseDouble(costEstimateStr));
|
|
|
}
|
|
|
cell18.setCellValue(budgetStats.getBasicRemarks());
|
|
|
cell19.setCellValue(budgetStats.getReserveProgress());
|
|
|
cell20.setCellValue(budgetStats.getImplementPlan());
|
|
|
cell21.setCellValue(budgetStats.getImplementBatch());
|
|
|
- cell22.setCellValue(budgetStats.getPretrialEstimateAmount());
|
|
|
- cell23.setCellValue(budgetStats.getPretrialEstimateAmountExcludeTax());
|
|
|
- cell24.setCellValue(budgetStats.getPretrialDeductibleAmount());
|
|
|
- cell25.setCellValue(budgetStats.getPretrialConstructeConsts());
|
|
|
- cell26.setCellValue(budgetStats.getPretrialMaterialAmount());
|
|
|
- cell27.setCellValue(budgetStats.getPretrialOtherExpanses());
|
|
|
- cell28.setCellValue(budgetStats.getPretrialPreliminaryConstructeFee());
|
|
|
- cell29.setCellValue(budgetStats.getPretrialSurveyFee());
|
|
|
- cell30.setCellValue(budgetStats.getPretrialDesignFee());
|
|
|
- cell31.setCellValue(budgetStats.getPretrialSupervisionFee());
|
|
|
- cell32.setCellValue(budgetStats.getAfterTrialEstimateAmount());
|
|
|
- cell33.setCellValue(budgetStats.getAfterTrialEstimateAmountExcludeTax());
|
|
|
- cell34.setCellValue(budgetStats.getAfterTrialDeductibleAmount());
|
|
|
- cell35.setCellValue(budgetStats.getAfterTrialConstructeConsts());
|
|
|
- cell36.setCellValue(budgetStats.getAfterTrialMaterialAmount());
|
|
|
- cell37.setCellValue(budgetStats.getAfterTrialOtherExpanses());
|
|
|
- cell38.setCellValue(budgetStats.getAfterTrialPreliminaryConstructeFee());
|
|
|
- cell39.setCellValue(budgetStats.getAfterTrialSurveyFee());
|
|
|
- cell40.setCellValue(budgetStats.getAfterTrialDesignFee());
|
|
|
- cell41.setCellValue(budgetStats.getAfterTrialSupervisionFee());
|
|
|
- cell42.setCellValue(budgetStats.getBudgetRevision());
|
|
|
- cell43.setCellValue(budgetStats.getCompleteTime());
|
|
|
+ cell22.setCellValue(budgetStats.getProjectReleaseBatch());
|
|
|
+ cell23.setCellValue(budgetStats.getOwnerProjectManager());
|
|
|
+ cell24.setCellValue(budgetStats.getSiteManagementUnit());
|
|
|
+ cell25.setCellValue(budgetStats.getElectricalProjectManager());
|
|
|
+ cell26.setCellValue(budgetStats.getCivilEngineerProjectManager());
|
|
|
+ cell27.setCellValue(budgetStats.getElectricalSubcontractor());
|
|
|
+ cell28.setCellValue(budgetStats.getElectricalContact());
|
|
|
+ cell29.setCellValue(budgetStats.getCivilEngineerSubcontractor());
|
|
|
+ cell30.setCellValue(budgetStats.getCivilEngineerContact());
|
|
|
+ cell31.setCellValue(budgetStats.getSubcontractInfoRemark());
|
|
|
+ cell32.setCellValue(budgetStats.getPretrialEstimateAmount());
|
|
|
+ cell33.setCellValue(budgetStats.getPretrialEstimateAmountExcludeTax());
|
|
|
+ cell34.setCellValue(budgetStats.getPretrialDeductibleAmount());
|
|
|
+ cell35.setCellValue(budgetStats.getPretrialConstructeConsts());
|
|
|
+ cell36.setCellValue(budgetStats.getPretrialMaterialAmount());
|
|
|
+ cell37.setCellValue(budgetStats.getPretrialOtherExpanses());
|
|
|
+ cell38.setCellValue(budgetStats.getPretrialPreliminaryConstructeFee());
|
|
|
+ cell39.setCellValue(budgetStats.getPretrialSurveyFee());
|
|
|
+ cell40.setCellValue(budgetStats.getPretrialDesignFee());
|
|
|
+ cell41.setCellValue(budgetStats.getPretrialSupervisionFee());
|
|
|
+ cell42.setCellValue(budgetStats.getAfterTrialEstimateAmount());
|
|
|
+ cell43.setCellValue(budgetStats.getAfterTrialEstimateAmountExcludeTax());
|
|
|
+ cell44.setCellValue(budgetStats.getAfterTrialDeductibleAmount());
|
|
|
+ cell45.setCellValue(budgetStats.getAfterTrialConstructeConsts());
|
|
|
+ cell46.setCellValue(budgetStats.getAfterTrialMaterialAmount());
|
|
|
+ cell47.setCellValue(budgetStats.getAfterTrialOtherExpanses());
|
|
|
+ cell48.setCellValue(budgetStats.getAfterTrialPreliminaryConstructeFee());
|
|
|
+ cell49.setCellValue(budgetStats.getAfterTrialSurveyFee());
|
|
|
+ cell50.setCellValue(budgetStats.getAfterTrialDesignFee());
|
|
|
+ cell51.setCellValue(budgetStats.getAfterTrialSupervisionFee());
|
|
|
+ cell52.setCellValue(budgetStats.getBudgetRevision());
|
|
|
+ cell53.setCellValue(budgetStats.getCompleteTime());
|
|
|
+ cell54.setCellValue(budgetStats.getDesignChange());
|
|
|
+ cell55.setCellValue(budgetStats.getDesignChangeStatus());
|
|
|
+
|
|
|
}
|
|
|
|
|
|
String str = URLEncoder.encode("储备项目概预算统计表.xlsx", "UTF8");
|
|
@@ -197,105 +280,119 @@ public class ExcelExportUtil {
|
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
|
for(int i=0;i<list.size();i++){
|
|
|
Row row = sheet.createRow(rowNum+i);
|
|
|
- Cell cell0 = crateCell(workbook,row,0); //序号
|
|
|
- Cell cell1 = crateCell(workbook,row,1); //储备项目编号
|
|
|
- Cell cell2 = crateCell(workbook,row,2); //储备项目名称
|
|
|
- Cell cell3 = crateCell(workbook,row,3); //储备项目类型
|
|
|
- Cell cell4 = crateCell(workbook,row,4); //需求提出单位
|
|
|
- Cell cell5 = crateCell(workbook,row,5); //储备批次
|
|
|
- Cell cell6 = crateCell(workbook,row,6); //备注
|
|
|
- Cell cell7 = crateCell(workbook,row,7); //储备进度
|
|
|
- Cell cell8 = crateCell(workbook,row,8); //是否纳入实施计划
|
|
|
- Cell cell9 = crateCell(workbook,row,9); //初定实施批次
|
|
|
- Cell cell10 = crateCell(workbook,row,10); //是否通过运检部评审
|
|
|
- Cell cell11 = crateCell(workbook,row,11); //通过运检部评审时间
|
|
|
- Cell cell12 = crateCell(workbook,row,12); //运检部下达储备时间
|
|
|
- Cell cell13 = crateCell(workbook,row,13); //是否发出设计委托
|
|
|
- Cell cell14 = crateCell(workbook,row,14); //设计委托发出时间
|
|
|
- Cell cell15 = crateCell(workbook,row,15); //初设提交限定日期
|
|
|
- Cell cell16 = crateCell(workbook,row,16); //是否进行现场交底
|
|
|
- Cell cell17 = crateCell(workbook,row,17); //交底完成时间
|
|
|
- Cell cell18 = crateCell(workbook,row,18); //是否进行储备
|
|
|
- Cell cell19 = crateCell(workbook,row,19); //是否完成初设
|
|
|
- Cell cell20 = crateCell(workbook,row,20); //初设提交时间
|
|
|
- Cell cell21 = crateCell(workbook,row,21); //是否完成审图
|
|
|
+
|
|
|
+ Cell cell0 = crateCell(workbook,row,0); //储备项目编号
|
|
|
+ Cell cell1 = crateCell(workbook,row,1); //储备项目名称
|
|
|
+ Cell cell2 = crateCell(workbook,row,2); //储备项目类型
|
|
|
+ Cell cell3 = crateCell(workbook,row,3); //需求提出单位
|
|
|
+ Cell cell4 = crateCell(workbook,row,4); //储备批次
|
|
|
+ Cell cell5 = crateCell(workbook,row,5); //备注
|
|
|
+ Cell cell6 = crateCell(workbook,row,6); //储备进度
|
|
|
+ Cell cell7 = crateCell(workbook,row,7); //是否纳入实施计划
|
|
|
+ Cell cell8 = crateCell(workbook,row,8); //初定实施批次
|
|
|
+ Cell cell9 = crateCell(workbook,row,9); //是否通过运检部评审
|
|
|
+ Cell cell10 = crateCell(workbook,row,10); //通过运检部评审时间
|
|
|
+ Cell cell11 = crateCell(workbook,row,11); //运检部下达储备时间
|
|
|
+ Cell cell12 = crateCell(workbook,row,12); //是否发出设计委托
|
|
|
+ Cell cell13 = crateCell(workbook,row,13); //设计委托发出时间
|
|
|
+ Cell cell14 = crateCell(workbook,row,14); //初设提交限定日期
|
|
|
+ Cell cell15 = crateCell(workbook,row,15); //是否进行现场交底
|
|
|
+ Cell cell16 = crateCell(workbook,row,16); //交底完成时间
|
|
|
+ Cell cell17 = crateCell(workbook,row,17); //是否进行储备
|
|
|
+ Cell cell18 = crateCell(workbook,row,18); //是否完成初设
|
|
|
+ Cell cell19 = crateCell(workbook,row,19); //初设提交时间
|
|
|
+ Cell cell20 = crateCell(workbook,row,20); //是否进行审图
|
|
|
+ Cell cell21 = crateCell(workbook,row,21); //审图日期
|
|
|
Cell cell22 = crateCell(workbook,row,22); //是否通过图纸审核
|
|
|
- Cell cell23 = crateCell(workbook,row,23); //未通过原因分析
|
|
|
- Cell cell24 = crateCell(workbook,row,24); //通过审核日期
|
|
|
+ Cell cell23 = crateCell(workbook,row,23); //通过审核日期
|
|
|
+ Cell cell24 = crateCell(workbook,row,24); //未通过原因分析
|
|
|
Cell cell25 = crateCell(workbook,row,25); //是否需设计变更
|
|
|
- Cell cell26 = crateCell(workbook,row,26); //是否完成审核
|
|
|
- Cell cell27 = crateCell(workbook,row,27); //是否通过专家审核
|
|
|
- Cell cell28 = crateCell(workbook,row,28); //未通过原因分析
|
|
|
- Cell cell29 = crateCell(workbook,row,29); //通过审核日期
|
|
|
- Cell cell30 = crateCell(workbook,row,30); //是否需设计变更
|
|
|
- Cell cell31 = crateCell(workbook,row,31); //是否参加省公司评审
|
|
|
- Cell cell32 = crateCell(workbook,row,32); //省公司评审批次
|
|
|
- Cell cell33 = crateCell(workbook,row,33); //是否通过省公司评审
|
|
|
- Cell cell34 = crateCell(workbook,row,34); //未通过原因分析
|
|
|
- Cell cell35 = crateCell(workbook,row,35); //是否需设计变更
|
|
|
- Cell cell36 = crateCell(workbook,row,36); //是否进行图纸审查
|
|
|
- Cell cell37 = crateCell(workbook,row,37); //审图日期
|
|
|
- Cell cell38 = crateCell(workbook,row,38); //是否通过图纸审查
|
|
|
- Cell cell39 = crateCell(workbook,row,39); //未通过审图意见
|
|
|
- Cell cell40 = crateCell(workbook,row,40); //通过审核日期
|
|
|
- Cell cell41 = crateCell(workbook,row,41); //是否需设计变更
|
|
|
- Cell cell42 = crateCell(workbook,row,42); //图纸是否定稿
|
|
|
- Cell cell43 = crateCell(workbook,row,43); //定稿日期
|
|
|
- Cell cell44 = crateCell(workbook,row,44); //是否打印正式图纸
|
|
|
- Cell cell45 = crateCell(workbook,row,45); //通知出图日期
|
|
|
- Cell cell46 = crateCell(workbook,row,46); //正式图纸移交项目中心日期
|
|
|
- Cell cell47 = crateCell(workbook,row,47); //正式图纸移交施工单位日期
|
|
|
+ Cell cell26 = crateCell(workbook,row,26); //项目经理审图-备注
|
|
|
+
|
|
|
+ Cell cell27 = crateCell(workbook,row,27); //概预算-是否进行审核
|
|
|
+ Cell cell28 = crateCell(workbook,row,28); //概预算-审核日期
|
|
|
+ Cell cell29 = crateCell(workbook,row,29); //概预算-是否通过专家审核
|
|
|
+ Cell cell30 = crateCell(workbook,row,30); //概预算-通过审核日期
|
|
|
+ Cell cell31 = crateCell(workbook,row,31); //概预算-未通过原因分析
|
|
|
+ Cell cell32 = crateCell(workbook,row,32); //概预算-是否需设计变更
|
|
|
+ Cell cell33 = crateCell(workbook,row,33); //概预算审核-备注
|
|
|
+ Cell cell34 = crateCell(workbook,row,34); //是否参加省公司评审
|
|
|
+ Cell cell35 = crateCell(workbook,row,35); //省公司评审批次/日期
|
|
|
+ Cell cell36 = crateCell(workbook,row,36); //是否通过省公司评审
|
|
|
+ Cell cell37 = crateCell(workbook,row,37); //评审意见
|
|
|
+ Cell cell38 = crateCell(workbook,row,38); //是否需设计变更
|
|
|
+ Cell cell39 = crateCell(workbook,row,39); //省公司评审-备注
|
|
|
+
|
|
|
+ Cell cell40 = crateCell(workbook,row,40); //图纸联合审查-是否进行图纸审查
|
|
|
+ Cell cell41 = crateCell(workbook,row,41); //图纸联合审查-联合审图日期
|
|
|
+ Cell cell42 = crateCell(workbook,row,42); //图纸联合审查-是否通过图纸审查
|
|
|
+ Cell cell43 = crateCell(workbook,row,43); //图纸联合审查-通过联合审图日期
|
|
|
+ Cell cell44 = crateCell(workbook,row,44); //图纸联合审查-审图意见
|
|
|
+ Cell cell45 = crateCell(workbook,row,45); //图纸联合审查-是否需设计变更
|
|
|
+ Cell cell46 = crateCell(workbook,row,46); //图纸联合审查-备注
|
|
|
+
|
|
|
+ Cell cell47 = crateCell(workbook,row,47); //图纸是否定稿
|
|
|
+ Cell cell48 = crateCell(workbook,row,48); //定稿日期
|
|
|
+ Cell cell49 = crateCell(workbook,row,49); //是否打印正式图纸
|
|
|
+ Cell cell50 = crateCell(workbook,row,50); //通知出图日期
|
|
|
+ Cell cell51 = crateCell(workbook,row,51); //正式图纸移交项目中心日期
|
|
|
+ Cell cell52 = crateCell(workbook,row,52); //正式图纸移交施工单位日期
|
|
|
|
|
|
ProgressStats progressStats = list.get(i);
|
|
|
|
|
|
- cell0.setCellValue(String.valueOf(index++));
|
|
|
- cell1.setCellValue(progressStats.getProjectReserveId());
|
|
|
- cell2.setCellValue(progressStats.getProjectName());
|
|
|
- cell3.setCellValue(progressStats.getRequirementType());
|
|
|
- cell4.setCellValue(progressStats.getDemandUnit());
|
|
|
- cell5.setCellValue(progressStats.getReserveBatches());
|
|
|
- cell6.setCellValue(progressStats.getBasicRemarks());
|
|
|
- cell7.setCellValue(progressStats.getReserveProgress());
|
|
|
- cell8.setCellValue(progressStats.getImplementPlan());
|
|
|
- cell9.setCellValue(progressStats.getInitialImplementBatch());
|
|
|
- cell10.setCellValue(progressStats.getInspectDepartmentReview());
|
|
|
- cell11.setCellValue(progressStats.getInspectDepartmentReviewTime());
|
|
|
- cell12.setCellValue(progressStats.getReleaseReserveTime());
|
|
|
- cell13.setCellValue(progressStats.getDesignCommission());
|
|
|
- cell14.setCellValue(progressStats.getDesignCommissionIssueTime());
|
|
|
- cell15.setCellValue(progressStats.getLimitDate());
|
|
|
- cell16.setCellValue(progressStats.getOnSiteConfess());
|
|
|
- cell17.setCellValue(progressStats.getConfessCompleteTime());
|
|
|
- cell18.setCellValue(progressStats.getIncludeReserve());
|
|
|
- cell19.setCellValue(progressStats.getCompleteDesign());
|
|
|
- cell20.setCellValue(progressStats.getSubmitTime());
|
|
|
- cell21.setCellValue(progressStats.getCompleteDraw());
|
|
|
+ cell0.setCellValue(progressStats.getProjectReserveId());
|
|
|
+ cell1.setCellValue(progressStats.getProjectName());
|
|
|
+ cell2.setCellValue(progressStats.getRequirementType());
|
|
|
+ cell3.setCellValue(progressStats.getDemandUnit());
|
|
|
+ cell4.setCellValue(progressStats.getReserveBatches());
|
|
|
+ cell5.setCellValue(progressStats.getBasicRemarks());
|
|
|
+ cell6.setCellValue(progressStats.getReserveProgress());
|
|
|
+ cell7.setCellValue(progressStats.getImplementPlan());
|
|
|
+ cell8.setCellValue(progressStats.getInitialImplementBatch());
|
|
|
+ cell9.setCellValue(progressStats.getInspectDepartmentReview());
|
|
|
+ cell10.setCellValue(progressStats.getInspectDepartmentReviewTime());
|
|
|
+ cell11.setCellValue(progressStats.getReleaseReserveTime());
|
|
|
+ cell12.setCellValue(progressStats.getDesignCommission());
|
|
|
+ cell13.setCellValue(progressStats.getDesignCommissionIssueTime());
|
|
|
+ cell14.setCellValue(progressStats.getLimitDate());
|
|
|
+ cell15.setCellValue(progressStats.getOnSiteConfess());
|
|
|
+ cell16.setCellValue(progressStats.getConfessCompleteTime());
|
|
|
+ cell17.setCellValue(progressStats.getIncludeReserve());
|
|
|
+ cell18.setCellValue(progressStats.getCompleteDesign());
|
|
|
+ cell19.setCellValue(progressStats.getSubmitTime());
|
|
|
+ cell20.setCellValue(progressStats.getCompleteDraw());
|
|
|
+ cell21.setCellValue(progressStats.getCompleteDrawDate());
|
|
|
cell22.setCellValue(progressStats.getDrawAudit());
|
|
|
- cell23.setCellValue(progressStats.getReasonForFailure());
|
|
|
- cell24.setCellValue(progressStats.getPassAuditDate());
|
|
|
+ cell23.setCellValue(progressStats.getPassAuditDate());
|
|
|
+ cell24.setCellValue(progressStats.getReasonForFailure());
|
|
|
cell25.setCellValue(progressStats.getChangeDesign());
|
|
|
- cell26.setCellValue(progressStats.getCompleteReview());
|
|
|
- cell27.setCellValue(progressStats.getExpertReview());
|
|
|
- cell28.setCellValue(progressStats.getEstimateReasonForFailure());
|
|
|
- cell29.setCellValue(progressStats.getEstimatePassAuditDate());
|
|
|
- cell30.setCellValue(progressStats.getEstimateChangeDesign());
|
|
|
- cell31.setCellValue(progressStats.getProvincialCompanyReview());
|
|
|
- cell32.setCellValue(progressStats.getProvincialCompanyReviewBatch());
|
|
|
- cell33.setCellValue(progressStats.getPassProvincialCompanyReview());
|
|
|
- cell34.setCellValue(progressStats.getCauseAnalysis());
|
|
|
- cell35.setCellValue(progressStats.getDesignChange());
|
|
|
- cell36.setCellValue(progressStats.getDrawingReview());
|
|
|
- cell37.setCellValue(progressStats.getReviewDate());
|
|
|
- cell38.setCellValue(progressStats.getPassDrawingReview());
|
|
|
- cell39.setCellValue(progressStats.getReviewComment());
|
|
|
- cell40.setCellValue(progressStats.getApprovedDate());
|
|
|
- cell41.setCellValue(progressStats.getJointReviewDesignChange());
|
|
|
- cell42.setCellValue(progressStats.getDrawingFinalize());
|
|
|
- cell43.setCellValue(progressStats.getFinalDate());
|
|
|
- cell44.setCellValue(progressStats.getFormalDrawing());
|
|
|
- cell45.setCellValue(progressStats.getDrawingDate());
|
|
|
- cell46.setCellValue(progressStats.getTransferProjectCenterDate());
|
|
|
- cell47.setCellValue(progressStats.getTransferToConstructionUnitDate());
|
|
|
+ cell26.setCellValue(progressStats.getDrawRemarks());
|
|
|
+ cell27.setCellValue(progressStats.getWhetherToAudit());
|
|
|
+ cell28.setCellValue(progressStats.getAuditDate());
|
|
|
+ cell29.setCellValue(progressStats.getExpertReview());
|
|
|
+ cell30.setCellValue(progressStats.getEstimatePassAuditDate());
|
|
|
+ cell31.setCellValue(progressStats.getEstimateReasonForFailure());
|
|
|
+ cell32.setCellValue(progressStats.getEstimateChangeDesign());
|
|
|
+ cell33.setCellValue(progressStats.getBudgetRemarks());
|
|
|
+ cell34.setCellValue(progressStats.getProvincialCompanyReview());
|
|
|
+ cell35.setCellValue(progressStats.getProvincialCompanyReviewBatch());
|
|
|
+ cell36.setCellValue(progressStats.getPassProvincialCompanyReview());
|
|
|
+ cell37.setCellValue(progressStats.getCauseAnalysis());
|
|
|
+ cell38.setCellValue(progressStats.getDesignChange());
|
|
|
+ cell39.setCellValue(progressStats.getProvincialCompanyRemarks());
|
|
|
+ cell40.setCellValue(progressStats.getDrawingReview());
|
|
|
+ cell41.setCellValue(progressStats.getReviewDate());
|
|
|
+ cell42.setCellValue(progressStats.getPassDrawingReview());
|
|
|
+ cell43.setCellValue(progressStats.getApprovedDate());
|
|
|
+ cell44.setCellValue(progressStats.getReviewComment());
|
|
|
+ cell45.setCellValue(progressStats.getJointReviewDesignChange());
|
|
|
+ cell46.setCellValue(progressStats.getDrawingUnionRemarks());
|
|
|
+ cell47.setCellValue(progressStats.getDrawingFinalize());
|
|
|
+ cell48.setCellValue(progressStats.getFinalDate());
|
|
|
+ cell49.setCellValue(progressStats.getFormalDrawing());
|
|
|
+ cell50.setCellValue(progressStats.getDrawingDate());
|
|
|
+ cell51.setCellValue(progressStats.getTransferProjectCenterDate());
|
|
|
+ cell52.setCellValue(progressStats.getTransferToConstructionUnitDate());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -320,7 +417,7 @@ public class ExcelExportUtil {
|
|
|
public void exportConstructe(HttpServletResponse response, XSSFWorkbook workbook, List<ConstructeScale> list){
|
|
|
try {
|
|
|
int index = 1;//第一列序号
|
|
|
- int rowNum = 2;//数据起始列
|
|
|
+ int rowNum = 3;//数据起始列
|
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
|
for(int i=0;i<list.size();i++){
|
|
|
Row row = sheet.createRow(rowNum+i);
|
|
@@ -364,7 +461,8 @@ public class ExcelExportUtil {
|
|
|
Cell cell37 = crateCell(workbook,row,37); //费用估算
|
|
|
Cell cell38 = crateCell(workbook,row,38); //是否迎峰度夏项目
|
|
|
Cell cell39 = crateCell(workbook,row,39); //通过第几批项目评审
|
|
|
- Cell cell40 = crateCell(workbook,row,40); //概算
|
|
|
+ Cell cell40 = crateCell(workbook,row,40); //概算(含税)
|
|
|
+ Cell cell41 = crateCell(workbook,row,41); //概算(不含税)
|
|
|
|
|
|
|
|
|
ConstructeScale constructeScale = list.get(i);
|
|
@@ -410,6 +508,7 @@ public class ExcelExportUtil {
|
|
|
cell38.setCellValue(constructeScale.getPeakSummerProject());
|
|
|
cell39.setCellValue(constructeScale.getProjectReview());
|
|
|
cell40.setCellValue(constructeScale.getAfterTrialEstimateAmount());
|
|
|
+ cell41.setCellValue(constructeScale.getAfterTrialEstimateAmountExcludeTax());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -679,24 +778,28 @@ public class ExcelExportUtil {
|
|
|
for(int i=0;i<list.size();i++){
|
|
|
Row row = sheet.createRow(rowNum+i);
|
|
|
Cell cell0 = crateCell(workbook,row,0); //序号
|
|
|
- Cell cell1 = crateCell(workbook,row,1); //储备项目名称
|
|
|
- Cell cell2 = crateCell(workbook,row,2); //储备项目编码
|
|
|
- Cell cell3 = crateCell(workbook,row,3); //物料名称
|
|
|
- Cell cell4 = crateCell(workbook,row,4); //规格型号
|
|
|
- Cell cell5 = crateCell(workbook,row,5); //单位
|
|
|
- Cell cell6 = crateCell(workbook,row,6); //数量
|
|
|
- Cell cell7 = crateCell(workbook,row,7); //备注
|
|
|
+ Cell cell1 = crateCell(workbook,row,1); //储备年份
|
|
|
+ Cell cell2 = crateCell(workbook,row,2); //储备项目名称
|
|
|
+ Cell cell3 = crateCell(workbook,row,3); //储备项目编码
|
|
|
+ Cell cell4 = crateCell(workbook,row,4); //项目定义号
|
|
|
+ Cell cell5 = crateCell(workbook,row,5); //物料名称
|
|
|
+ Cell cell6 = crateCell(workbook,row,6); //规格型号
|
|
|
+ Cell cell7 = crateCell(workbook,row,7); //单位
|
|
|
+ Cell cell8 = crateCell(workbook,row,8); //数量
|
|
|
+ Cell cell9 = crateCell(workbook,row,9); //备注
|
|
|
|
|
|
DemoliteList demoliteList = list.get(i);
|
|
|
|
|
|
cell0.setCellValue(String.valueOf(index++));
|
|
|
- cell1.setCellValue(demoliteList.getProjectName());
|
|
|
- cell2.setCellValue(demoliteList.getProjectReserveId());
|
|
|
- cell3.setCellValue(demoliteList.getMaterialName());
|
|
|
- cell4.setCellValue(demoliteList.getSpecification());
|
|
|
- cell5.setCellValue(demoliteList.getUnit());
|
|
|
- cell6.setCellValue(demoliteList.getCount());
|
|
|
- cell7.setCellValue(demoliteList.getRemark());
|
|
|
+ cell1.setCellValue(demoliteList.getProjectYear());
|
|
|
+ cell2.setCellValue(demoliteList.getProjectName());
|
|
|
+ cell3.setCellValue(demoliteList.getProjectReserveId());
|
|
|
+ cell4.setCellValue(demoliteList.getProjectNumber());
|
|
|
+ cell5.setCellValue(demoliteList.getMaterialName());
|
|
|
+ cell6.setCellValue(demoliteList.getSpecification());
|
|
|
+ cell7.setCellValue(demoliteList.getUnit());
|
|
|
+ cell8.setCellValue(demoliteList.getCount());
|
|
|
+ cell9.setCellValue(demoliteList.getRemark());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -803,7 +906,7 @@ public class ExcelExportUtil {
|
|
|
cell23.setCellValue(audit.getBudgetBook());
|
|
|
cell24.setCellValue(audit.getDesignManual());
|
|
|
cell25.setCellValue(audit.getMaterialList());
|
|
|
- cell26.setCellValue(audit.getFeasibilityReport());
|
|
|
+// cell26.setCellValue(audit.getFeasibilityReport());
|
|
|
cell27.setCellValue(audit.getProjectProposal());
|
|
|
cell28.setCellValue(audit.getOldInventoryDemolition());
|
|
|
cell29.setCellValue(audit.getNoStopWorkPlan());
|