| | |
| | | private IEamReportAccidentsRegisterService eamReportAccidentsRegisterService; |
| | | @Autowired |
| | | private IEamReportRepairService eamReportRepairService; |
| | | @Autowired |
| | | private ObjectMapper objectMapper; |
| | | @Autowired |
| | | private TranslateDictTextUtils translateDictTextUtils; |
| | | @Autowired |
| | | private ObjectMapper objectMapper; |
| | | @Autowired |
| | | private TranslateDictTextUtils translateDictTextUtils; |
| | | /** |
| | | * 分页列表查询 |
| | | * |
| | |
| | | if (StrUtil.isBlank(eamReportAccidentsRegisterDto.getTaskId()) || StrUtil.isBlank(eamReportAccidentsRegisterDto.getDataId()) || StrUtil.isBlank(eamReportAccidentsRegisterDto.getInstanceId())) { |
| | | return Result.error("审批任务错误或不存在!"); |
| | | } |
| | | return eamReportAccidentsRegisterService.audit(eamReportAccidentsRegisterDto); |
| | | return eamReportAccidentsRegisterService.audit(eamReportAccidentsRegisterDto); |
| | | } |
| | | |
| | | |
| | |
| | | return super.importExcel(request, response, EamReportAccidentsRegister.class); |
| | | } |
| | | |
| | | /** |
| | | * 设备事故登记表打印 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "设备事故登记表-设备事故登记表打印") |
| | | @ApiOperation(value="设备事故登记表-设备事故登记表打印", notes="设备事故登记表-设备事故登记表打印") |
| | | @GetMapping(value = "/batchExport") |
| | | public Result<?> batchExport(String ids){ |
| | | return Result.ok(eamReportAccidentsRegisterService.findListByIds(ids)); |
| | | } |
| | | |
| | | } |