Commit f69d652c authored by 侯彦文's avatar 侯彦文

进度计划导出优化

parent 5f4405b5
......@@ -266,7 +266,6 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
reader.addHeaderAlias("业务计划类型", "businessPlanType");
reader.addHeaderAlias("阶段状态", "phaseState");
reader.addHeaderAlias("反馈类型*", "feedbackType");
/*reader.addHeaderAlias("是否产生计划任务", "hasPlanTasks");*/
reader.addHeaderAlias("合同编号", "contractNo");
reader.addHeaderAlias("计划执行人*", "planExecutor");
reader.addHeaderAlias("工期", "constructPeriod");
......@@ -690,12 +689,12 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
if (CollectionUtil.isNotEmpty(extPlanVOS)) {
for (ExtPlanVO extPlanVO : extPlanVOS) {
Map<String, Object> exportMap = new HashMap<>();
exportMap.put("planLevel",extPlanVO.getPlanLevel());
exportMap.put("name", extPlanVO.getName());
exportMap.put("number", extPlanVO.getNumber());
exportMap.put("superPlanCode", extPlanVO.getSuperPlanCode());
exportMap.put("businessPlanType", extPlanVO.getBusinessPlanType());
exportMap.put("feedbackType", extPlanVO.getFeedbackType());
exportMap.put("hasPlanTasks", extPlanVO.getHasPlanTasks());
exportMap.put("contractNo", extPlanVO.getContractNo());
exportMap.put("planExecutor", extPlanVO.getPlanExecutor());
exportMap.put("constructPeriod", extPlanVO.getConstructPeriod());
......@@ -707,12 +706,12 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
}
}
ExcelWriter writer = ExcelUtil.getWriter(true);
writer.addHeaderAlias("planLevel", "计划级别");
writer.addHeaderAlias("name", "计划名称");
writer.addHeaderAlias("number", "计划编号");
writer.addHeaderAlias("superPlanCode", "父级计划编号");
writer.addHeaderAlias("businessPlanType", "业务计划类型");
writer.addHeaderAlias("feedbackType", "反馈类型");
writer.addHeaderAlias("hasPlanTasks", "是否产生计划任务");
writer.addHeaderAlias("contractNo", "合同编号");
writer.addHeaderAlias("planExecutor", "计划执行人");
writer.addHeaderAlias("constructPeriod", "工期");
......@@ -746,37 +745,6 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
}
/**
* 设置计划值
*/
private void assembleWriter(ExcelWriter writer) {
writer.addHeaderAlias("operate", "操作");
writer.addHeaderAlias("planLevel", "计划级别");
writer.addHeaderAlias("superPlanCode", "父级计划编号");
writer.addHeaderAlias("number", "计划编号");
writer.addHeaderAlias("name", "计划名称");
writer.addHeaderAlias("businessPlanType", "业务计划类型");
writer.addHeaderAlias("phaseState", "阶段状态");
writer.addHeaderAlias("feedbackType", "反馈类型");
writer.addHeaderAlias("hasPlanTasks", "是否产生计划任务");
writer.addHeaderAlias("contractNo", "合同编号");
writer.addHeaderAlias("planExecutor", "计划执行人");
writer.addHeaderAlias("constructPeriod", "工期");
writer.addHeaderAlias("startTime", "开始时间");
writer.addHeaderAlias("completeTime", "完成时间");
//文件分类
writer.addHeaderAlias("fileType", "文件分类");
writer.addHeaderAlias("fileName", "文件名称");
writer.addHeaderAlias("fileNumber", "文件编号");
writer.addHeaderAlias("fileCode", "文件代号");
writer.addHeaderAlias("projectCode", "项目代号");
writer.addHeaderAlias("systemCode", "管理信息系统编码");
writer.addHeaderAlias("review", "审核者");
writer.addHeaderAlias("approver", "批准者");
writer.addHeaderAlias("verifier", "审定者");
writer.addHeaderAlias("secretCode", "密级");
}
/**
* 通过文件分类查询
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment