| | |
| | | } |
| | | |
| | | /** |
| | | * 通过id查询 |
| | | * |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "大屏车间信息-通过ProductionId查询") |
| | | @ApiOperation(value = "大屏车间信息-通过ProductionId查询", notes = "大屏车间信息-通过ProductionId查询") |
| | | @GetMapping(value = "/queryByProductionId") |
| | | public Result<?> queryByProductionId(@RequestParam(name = "productionId", required = true) String productionId) { |
| | | MdcWorkshopInfo mdcWorkshopInfo = mdcWorkshopInfoService.getOne(new LambdaQueryWrapper<MdcWorkshopInfo>().eq(MdcWorkshopInfo::getProductionId, productionId)); |
| | | return Result.OK(mdcWorkshopInfo); |
| | | } |
| | | |
| | | /** |
| | | * 导出excel |
| | | * |
| | | * @param request |
| | |
| | | @AutoLog(value = "大屏车间信息-大屏信息") |
| | | @ApiOperation(value = "大屏车间信息-大屏信息", notes = "大屏车间信息-大屏信息") |
| | | @GetMapping(value = "/getBigScreenInfo") |
| | | public Result getBigScreenInfo(@RequestParam(name = "workshopId", required = true) String workshopId) { |
| | | List<MdcBigScreenEquipmentDto> result = mdcWorkshopInfoService.getBigScreenInfo(workshopId); |
| | | public Result getBigScreenInfo(@RequestParam(name = "productionId", required = true) String productionId) { |
| | | List<MdcBigScreenEquipmentDto> result = mdcWorkshopInfoService.getBigScreenInfo(productionId); |
| | | return Result.OK(result); |
| | | } |
| | | |