| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | /** |
| | | * todo: 孙河滨 |
| | | */ |
| | |
| | | return Result.success(deviceMaintenanceService.removeById(id)); |
| | | } |
| | | |
| | | /** |
| | | * 导出设备维护保养 |
| | | */ |
| | | @ApiOperation("导出设备维护保养") |
| | | @GetMapping("/exportDeviceMaintenance") |
| | | public void exportDeviceMaintenance(@RequestParam("deviceId") Integer deviceId, HttpServletResponse response) { |
| | | deviceMaintenanceService.exportDeviceMaintenance(deviceId, response); |
| | | } |
| | | |
| | | } |