| | |
| | | @Autowired |
| | | private DeviceMaintenanceMapper deviceMaintenanceMapper; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty("设备台账列表") |
| | | @GetMapping("/page") |
| | | public AjaxResult page(Page page , DeviceLedgerDto deviceLedger) { |
| | |
| | | public void export(HttpServletResponse response, Long[] ids) { |
| | | deviceLedgerService.export(response, ids); |
| | | } |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @GetMapping("/report/forms") |
| | | @ApiOperation("查询设备台账图表数据") |
| | | public AjaxResult report() { |
| | | return AjaxResult.success(deviceLedgerService.report()); |
| | | } |
| | | @PostMapping("import") |
| | | @ApiModelProperty("导入设备台账") |
| | | public AjaxResult importData(MultipartFile file) throws IOException { |