| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/export") |
| | | @Operation(summary = "导出现场编制记录", description = "导出现场编制记录") |
| | | public void export(ProgramOnMachineQueryVO queryVO,HttpServletResponse response) throws IOException { |
| | |
| | | excel.setProcessEdition(Func.toStr(vars.get(FlowVariableConstant.PROCESS_EDITION))); |
| | | excel.setMachineCode(Func.toStr(vars.get(FlowVariableConstant.MACHINE_CODE))); |
| | | excel.setProcessInstanceId(record.getProcessInstanceId()); |
| | | excel.setDeviation(Func.toStr(record.getVariables().get(FlowVariableConstant.DEVIATION))); |
| | | list.add(excel); |
| | | }); |
| | | ExcelUtil.export(response, "现场编制记录" + DateUtil.time(), "机床数据表", list, ProgramOnMachineExcel.class); |
| | | ExcelUtil.export(response, "现场编制记录" + DateUtil.time(), "现场编制记录", list, ProgramOnMachineExcel.class); |
| | | |
| | | } |
| | | } |