|
@@ -71,39 +71,87 @@ public class ExcelExportUtil {
|
|
|
public void exportCable(HttpServletResponse response, XSSFWorkbook workbook, List<Cable> 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);
|
|
|
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); //备注
|
|
|
+ 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); //路径长(m)
|
|
|
+ Cell cell25 = crateCell(workbook,row,25); //上杆(m)
|
|
|
+ Cell cell26 = crateCell(workbook,row,26); //进站(m)
|
|
|
+ Cell cell27 = crateCell(workbook,row,27); //进设备(m)
|
|
|
+ Cell cell28 = crateCell(workbook,row,28); //系数
|
|
|
+ Cell cell29 = crateCell(workbook,row,29); //电气长(m)
|
|
|
+ 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); //备注
|
|
|
|
|
|
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());
|
|
|
+ cell1.setCellValue(cable.getProjectYear());
|
|
|
+ cell2.setCellValue(cable.getProjectNature());
|
|
|
+ cell3.setCellValue(cable.getDemandUnit());
|
|
|
+ cell4.setCellValue(cable.getDistrict());
|
|
|
+ cell5.setCellValue(cable.getProjectGroup());
|
|
|
+ cell6.setCellValue(cable.getReserveBatches());
|
|
|
+ cell7.setCellValue(cable.getBlockSupply());
|
|
|
+ cell8.setCellValue(cable.getGridNumber());
|
|
|
+ cell9.setCellValue(cable.getCellNumber());
|
|
|
+ cell10.setCellValue(cable.getProjectReserveId());
|
|
|
+ cell11.setCellValue(cable.getProjectName());
|
|
|
+ cell12.setCellValue(cable.getConstructionNecessityAndContent());
|
|
|
+ cell13.setCellValue(cable.getSubstationName());
|
|
|
+ cell14.setCellValue(cable.getCircuitName());
|
|
|
+ cell15.setCellValue(cable.getNetRackProjectDivide());
|
|
|
+ cell16.setCellValue(cable.getRequirementType());
|
|
|
+
|
|
|
+ String costEstimateStr= cable.getCostEstimate();
|
|
|
+ if(StringUtils.isNotEmpty(costEstimateStr)){
|
|
|
+ cell17.setCellValue(Double.parseDouble(costEstimateStr));
|
|
|
+ }
|
|
|
+ cell18.setCellValue(cable.getBasicRemarks());
|
|
|
+ cell19.setCellValue(cable.getReserveProgress());
|
|
|
+ cell20.setCellValue(cable.getImplementPlan());
|
|
|
+ cell21.setCellValue(cable.getImplementBatch());
|
|
|
+ cell22.setCellValue(cable.getSpecifications());
|
|
|
+ cell23.setCellValue(cable.getDestination());
|
|
|
+ cell24.setCellValue(cable.getPathLength());
|
|
|
+ cell25.setCellValue(cable.getUpperRod());
|
|
|
+ cell26.setCellValue(cable.getArrival());
|
|
|
+ cell27.setCellValue(cable.getIncomingEquipment());
|
|
|
+ cell28.setCellValue(cable.getCoefficient());
|
|
|
+ cell29.setCellValue(cable.getElectricalChief());
|
|
|
+ cell30.setCellValue(cable.getCableTrenchBuild());
|
|
|
+ cell31.setCellValue(cable.getPipeLayeCable());
|
|
|
+ cell32.setCellValue(cable.getCompletePipe());
|
|
|
+ cell33.setCellValue(cable.getSegmentLengthClassinication());
|
|
|
+ cell34.setCellValue(cable.getRemarks());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -155,16 +203,16 @@ public class ExcelExportUtil {
|
|
|
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 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); //可抵扣金额(税金)
|
|
@@ -175,20 +223,8 @@ public class ExcelExportUtil {
|
|
|
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); //设计变更状态
|
|
|
+ Cell cell42 = crateCell(workbook,row,42); //是否完成概算修改
|
|
|
+ Cell cell43 = crateCell(workbook,row,43); //概算修改完成时间
|
|
|
|
|
|
BudgetStats budgetStats = list.get(i);
|
|
|
|
|
@@ -218,40 +254,28 @@ public class ExcelExportUtil {
|
|
|
cell19.setCellValue(budgetStats.getReserveProgress());
|
|
|
cell20.setCellValue(budgetStats.getImplementPlan());
|
|
|
cell21.setCellValue(budgetStats.getImplementBatch());
|
|
|
- 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());
|
|
|
+ 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());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -281,118 +305,129 @@ 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 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 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 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 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); //图纸联合审查-备注
|
|
|
+ Cell cell56 = crateCell(workbook,row,56); //是否完成储备
|
|
|
|
|
|
ProgressStats progressStats = list.get(i);
|
|
|
|
|
|
- cell0.setCellValue(progressStats.getProjectReserveId());
|
|
|
- cell1.setCellValue(progressStats.getProjectName());
|
|
|
- cell2.setCellValue(progressStats.getRequirementType());
|
|
|
+ cell0.setCellValue(String.valueOf(index++));
|
|
|
+ cell1.setCellValue(progressStats.getProjectYear());
|
|
|
+ cell2.setCellValue(progressStats.getProjectNature());
|
|
|
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.getPassAuditDate());
|
|
|
- cell24.setCellValue(progressStats.getReasonForFailure());
|
|
|
- cell25.setCellValue(progressStats.getChangeDesign());
|
|
|
- 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());
|
|
|
+ cell4.setCellValue(progressStats.getDistrict());
|
|
|
+ cell5.setCellValue(progressStats.getProjectGroup());
|
|
|
+ cell6.setCellValue(progressStats.getReserveBatches());
|
|
|
+ cell7.setCellValue(progressStats.getBlockSupply());
|
|
|
+ cell8.setCellValue(progressStats.getGridNumber());
|
|
|
+ cell9.setCellValue(progressStats.getCellNumber());
|
|
|
+ cell10.setCellValue(progressStats.getProjectReserveId());
|
|
|
+ cell11.setCellValue(progressStats.getProjectName());
|
|
|
+ cell12.setCellValue(progressStats.getConstructionNecessityAndContent());
|
|
|
+ cell13.setCellValue(progressStats.getSubstationName());
|
|
|
+ cell14.setCellValue(progressStats.getCircuitName());
|
|
|
+ cell15.setCellValue(progressStats.getNetRackProjectDivide());
|
|
|
+ cell16.setCellValue(progressStats.getRequirementType());
|
|
|
+
|
|
|
+ String costEstimateStr= progressStats.getCostEstimate();
|
|
|
+ if(StringUtils.isNotBlank(costEstimateStr)){
|
|
|
+ cell17.setCellValue(Double.parseDouble(costEstimateStr));
|
|
|
+ }
|
|
|
+ cell18.setCellValue(progressStats.getBasicRemarks());
|
|
|
+ cell19.setCellValue(progressStats.getReserveProgress());
|
|
|
+ cell20.setCellValue(progressStats.getImplementPlan());
|
|
|
+ cell21.setCellValue(progressStats.getInitialImplementBatch());
|
|
|
+ cell22.setCellValue(progressStats.getInspectDepartmentReview());
|
|
|
+ cell23.setCellValue(progressStats.getInspectDepartmentReviewTime());
|
|
|
+ cell24.setCellValue(progressStats.getReleaseReserveTime());
|
|
|
+ cell25.setCellValue(progressStats.getDesignCommission());
|
|
|
+ cell26.setCellValue(progressStats.getDesignCommissionIssueTime());
|
|
|
+ cell27.setCellValue(progressStats.getLimitDate());
|
|
|
+ cell28.setCellValue(progressStats.getOnSiteConfess());
|
|
|
+ cell29.setCellValue(progressStats.getConfessCompleteTime());
|
|
|
+ cell30.setCellValue(progressStats.getCompleteDesign());
|
|
|
+ cell31.setCellValue(progressStats.getSubmitTime());
|
|
|
+ cell32.setCellValue(progressStats.getCompleteDraw());
|
|
|
+ cell33.setCellValue(progressStats.getDrawAudit());
|
|
|
+ cell34.setCellValue(progressStats.getReasonForFailure());
|
|
|
+ cell35.setCellValue(progressStats.getPassAuditDate());
|
|
|
+ cell36.setCellValue(progressStats.getChangeDesign());
|
|
|
+ cell37.setCellValue(progressStats.getDrawRemarks());
|
|
|
+ cell38.setCellValue(progressStats.getWhetherToAudit());
|
|
|
+ cell39.setCellValue(progressStats.getExpertReview());
|
|
|
+ cell40.setCellValue(progressStats.getEstimateReasonForFailure());
|
|
|
+ cell41.setCellValue(progressStats.getEstimatePassAuditDate());
|
|
|
+ cell42.setCellValue(progressStats.getEstimateChangeDesign());
|
|
|
+ cell43.setCellValue(progressStats.getBudgetRemarks());
|
|
|
+ cell44.setCellValue(progressStats.getProvincialCompanyReview());
|
|
|
+ cell45.setCellValue(progressStats.getProvincialCompanyReviewBatch());
|
|
|
+ cell46.setCellValue(progressStats.getPassProvincialCompanyReview());
|
|
|
+ cell47.setCellValue(progressStats.getCauseAnalysis());
|
|
|
+ cell48.setCellValue(progressStats.getDesignChange());
|
|
|
+ cell49.setCellValue(progressStats.getProvincialCompanyRemarks());
|
|
|
+ cell50.setCellValue(progressStats.getDrawingReview());
|
|
|
+ cell51.setCellValue(progressStats.getReviewDate());
|
|
|
+ cell52.setCellValue(progressStats.getPassDrawingReview());
|
|
|
+ cell53.setCellValue(progressStats.getReviewComment());
|
|
|
+ cell54.setCellValue(progressStats.getJointReviewDesignChange());
|
|
|
+ cell55.setCellValue(progressStats.getDrawingUnionRemarks());
|
|
|
+ cell56.setCellValue(progressStats.getCompleteReserve());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -431,38 +466,36 @@ public class ExcelExportUtil {
|
|
|
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); //配电室kva
|
|
|
- Cell cell19 = crateCell(workbook,row,19); //配电室
|
|
|
- Cell cell20 = crateCell(workbook,row,20); //箱变kva
|
|
|
- Cell cell21 = crateCell(workbook,row,21); //箱变
|
|
|
- Cell cell22 = crateCell(workbook,row,22); //配电变压器kva
|
|
|
- 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); //配电自动化终端(FTU)
|
|
|
- Cell cell29 = crateCell(workbook,row,29); //配电自动化终端(DTU)
|
|
|
- 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 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); //配电室kva
|
|
|
+ Cell cell18 = crateCell(workbook,row,18); //配电室
|
|
|
+ Cell cell19 = crateCell(workbook,row,19); //箱变kva
|
|
|
+ Cell cell20 = crateCell(workbook,row,20); //箱变
|
|
|
+ Cell cell21 = crateCell(workbook,row,21); //配电变压器kva
|
|
|
+ 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); //配电自动化终端(FTU)
|
|
|
+ Cell cell28 = crateCell(workbook,row,28); //配电自动化终端(DTU)
|
|
|
+ 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); //概算(含税)
|
|
|
|
|
|
|
|
|
ConstructeScale constructeScale = list.get(i);
|
|
@@ -477,38 +510,36 @@ public class ExcelExportUtil {
|
|
|
cell7.setCellValue(constructeScale.getProjectName());
|
|
|
cell8.setCellValue(constructeScale.getConstructionNecessityAndContent());
|
|
|
cell9.setCellValue(constructeScale.getConstructePurpose());
|
|
|
- cell10.setCellValue(constructeScale.getReserveProgress());
|
|
|
- cell11.setCellValue(constructeScale.getSwitchCabinet());
|
|
|
- cell12.setCellValue(constructeScale.getOverheadLine());
|
|
|
- cell13.setCellValue(constructeScale.getPowerCable());
|
|
|
- cell14.setCellValue(constructeScale.getCableBranchBox());
|
|
|
- cell15.setCellValue(constructeScale.getOutdoorRingCage());
|
|
|
- cell16.setCellValue(constructeScale.getRingRoom());
|
|
|
- cell17.setCellValue(constructeScale.getOnColumnSwitch());
|
|
|
- cell18.setCellValue(constructeScale.getSwitchRoomKVA());
|
|
|
- cell19.setCellValue(constructeScale.getSwitchRoom());
|
|
|
- cell20.setCellValue(constructeScale.getBoxChangeKVA());
|
|
|
- cell21.setCellValue(constructeScale.getBoxChange());
|
|
|
- cell22.setCellValue(constructeScale.getDistributionTransformerKVA());
|
|
|
- cell23.setCellValue(constructeScale.getDistributionTransformer());
|
|
|
- cell24.setCellValue(constructeScale.getLowVoltageLine());
|
|
|
- cell25.setCellValue(constructeScale.getLowVoltageCable());
|
|
|
- cell26.setCellValue(constructeScale.getLowVoltageCableBox());
|
|
|
- cell27.setCellValue(constructeScale.getLowVoltageCabinet());
|
|
|
- cell28.setCellValue(constructeScale.getDistributeAutoMateTerminalFTU());
|
|
|
- cell29.setCellValue(constructeScale.getDistributeAutoMateTerminalDTU());
|
|
|
- cell30.setCellValue(constructeScale.getOpticalCable());
|
|
|
- cell31.setCellValue(constructeScale.getCablePassage());
|
|
|
- cell32.setCellValue(constructeScale.getFactoryPrefab());
|
|
|
- cell33.setCellValue(constructeScale.getAncillaryFacility());
|
|
|
- cell34.setCellValue(constructeScale.getConstructionWorkMethod());
|
|
|
- cell35.setCellValue(constructeScale.getWorkWithoutInterruption());
|
|
|
- cell36.setCellValue(constructeScale.getPowerFailureHouseNum());
|
|
|
- cell37.setCellValue(constructeScale.getCostEstimate());
|
|
|
- cell38.setCellValue(constructeScale.getPeakSummerProject());
|
|
|
- cell39.setCellValue(constructeScale.getProjectReview());
|
|
|
- cell40.setCellValue(constructeScale.getAfterTrialEstimateAmount());
|
|
|
- cell41.setCellValue(constructeScale.getAfterTrialEstimateAmountExcludeTax());
|
|
|
+ cell10.setCellValue(constructeScale.getSwitchCabinet());
|
|
|
+ cell11.setCellValue(constructeScale.getOverheadLine());
|
|
|
+ cell12.setCellValue(constructeScale.getPowerCable());
|
|
|
+ cell13.setCellValue(constructeScale.getCableBranchBox());
|
|
|
+ cell14.setCellValue(constructeScale.getOutdoorRingCage());
|
|
|
+ cell15.setCellValue(constructeScale.getRingRoom());
|
|
|
+ cell16.setCellValue(constructeScale.getOnColumnSwitch());
|
|
|
+ cell17.setCellValue(constructeScale.getSwitchRoomKVA());
|
|
|
+ cell18.setCellValue(constructeScale.getSwitchRoom());
|
|
|
+ cell19.setCellValue(constructeScale.getBoxChangeKVA());
|
|
|
+ cell20.setCellValue(constructeScale.getBoxChange());
|
|
|
+ cell21.setCellValue(constructeScale.getDistributionTransformerKVA());
|
|
|
+ cell22.setCellValue(constructeScale.getDistributionTransformer());
|
|
|
+ cell23.setCellValue(constructeScale.getLowVoltageLine());
|
|
|
+ cell24.setCellValue(constructeScale.getLowVoltageCable());
|
|
|
+ cell25.setCellValue(constructeScale.getLowVoltageCableBox());
|
|
|
+ cell26.setCellValue(constructeScale.getLowVoltageCabinet());
|
|
|
+ cell27.setCellValue(constructeScale.getDistributeAutoMateTerminalFTU());
|
|
|
+ cell28.setCellValue(constructeScale.getDistributeAutoMateTerminalDTU());
|
|
|
+ cell29.setCellValue(constructeScale.getOpticalCable());
|
|
|
+ cell30.setCellValue(constructeScale.getCablePassage());
|
|
|
+ cell31.setCellValue(constructeScale.getFactoryPrefab());
|
|
|
+ cell32.setCellValue(constructeScale.getAncillaryFacility());
|
|
|
+ cell33.setCellValue(constructeScale.getConstructionWorkMethod());
|
|
|
+ cell34.setCellValue(constructeScale.getWorkWithoutInterruption());
|
|
|
+ cell35.setCellValue(constructeScale.getPowerFailureHouseNum());
|
|
|
+ cell36.setCellValue(constructeScale.getCostEstimate());
|
|
|
+ cell37.setCellValue(constructeScale.getPeakSummerProject());
|
|
|
+ cell38.setCellValue(constructeScale.getProjectReview());
|
|
|
+ cell39.setCellValue(constructeScale.getAfterTrialEstimateAmount());
|
|
|
|
|
|
}
|
|
|
|