lyh
2 天以前 d61b21c50e62298f185ecafa8e0b22f7ee8c4973
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamReportAccidentsRegisterController.java
@@ -68,10 +68,10 @@
   private IEamReportAccidentsRegisterService eamReportAccidentsRegisterService;
   @Autowired
   private IEamReportRepairService eamReportRepairService;
    @Autowired
    private ObjectMapper objectMapper;
    @Autowired
    private TranslateDictTextUtils translateDictTextUtils;
   @Autowired
   private ObjectMapper objectMapper;
   @Autowired
   private TranslateDictTextUtils translateDictTextUtils;
   /**
    * 分页列表查询
    *
@@ -270,4 +270,16 @@
        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));
    }
}