|
@@ -288,8 +288,12 @@ public class PlanQuarterController extends BaseController {
|
|
|
@GetMapping("/downloaExcel")
|
|
|
public void downloadZip(HttpServletResponse response) {
|
|
|
List<PlanQuarterResponseVo> list = new ArrayList<PlanQuarterResponseVo>();
|
|
|
- list.add(new PlanQuarterResponseVo(1L, "单位1", "环太平洋项目", "物资服务类", "徒步环太平洋", new BigDecimal(12.23), "2023-02", "2023-03", "2023-04", "重点采购项目,重大规划任务项目", "计划作废", ""));
|
|
|
- list.add(new PlanQuarterResponseVo(2L, "单位2", "环北冰洋项目", "工程类", "徒步环北冰洋", new BigDecimal(15.88), "2023-01", "2023-05", "2023-08", "重点采购项目", "审核失误,紧急退回", ""));
|
|
|
+ list.add(new PlanQuarterResponseVo(1L, "单位1", "环太平洋项目", "物资服务类",
|
|
|
+ "徒步环太平洋", new BigDecimal(12.23), "2023-02", "2023-03",
|
|
|
+ "2023-04", "重点采购项目,重大规划任务项目", "计划作废", ""));
|
|
|
+ list.add(new PlanQuarterResponseVo(2L, "单位2", "环北冰洋项目", "工程类",
|
|
|
+ "徒步环北冰洋", new BigDecimal(15.88), "2023-01", "2023-05",
|
|
|
+ "2023-08", "重点采购项目", "审核失误,紧急退回", ""));
|
|
|
InputStream resourceAsStream = this.getClass().getResourceAsStream("/template/plan_quarter.xlsx");
|
|
|
OutputStream outputStream = null;
|
|
|
try {
|