| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Author: Lius |
| | |
| | | |
| | | @ApiOperation(value = "大屏看板-设备情况", notes = "大屏看板-设备情况") |
| | | @GetMapping("/equipmentStatusOverview") |
| | | public Result<EquipmentStatusOverview> equipmentStatusOverview(String workshopId) { |
| | | EquipmentStatusOverview equipmentStatusOverview = mdcLargeScreenService.equipmentStatusOverview(workshopId); |
| | | public Result<EquipmentStatusOverview> equipmentStatusOverview(String productionId) { |
| | | EquipmentStatusOverview equipmentStatusOverview = mdcLargeScreenService.equipmentStatusOverview(productionId); |
| | | return Result.OK(equipmentStatusOverview); |
| | | } |
| | | |
| | | // @ApiOperation(value = "大屏看板-月利用率趋势", notes = "大屏看板-月利用率趋势") |
| | | // @GetMapping("/monthUtilizationTendency") |
| | | // public Result<EquipmentStatusOverview> monthUtilizationTendency(String workshopId) { |
| | | // |
| | | // return Result.OK(equipmentStatusOverview); |
| | | // } |
| | | @ApiOperation(value = "大屏看板-月利用率趋势", notes = "大屏看板-月利用率趋势") |
| | | @GetMapping("/monthUtilizationTendency") |
| | | public Result<Map<String, Object>> monthUtilizationTendency(String productionId) { |
| | | Map<String, Object> result = mdcLargeScreenService.monthUtilizationTendency(productionId); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | // public Result<?> monthUtilizationTendency(String) |
| | | |
| | | } |