| | |
| | | package com.mes.bigstorage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.mes.bigstorage.entity.BigStorageCage; |
| | | import com.mes.bigstorage.service.BigStorageCageService; |
| | | import com.mes.utils.Result; |
| | |
| | | @Autowired |
| | | private BigStorageCageService bigStorageCageService; |
| | | |
| | | @ApiOperation("查询理片笼信息") |
| | | @GetMapping("/bigStorageCage") |
| | | public Result querybigStorageCageDetail(int deviceId) { |
| | | return Result.build(200,"查询成功",bigStorageCageService.querybigStorageCageDetail(deviceId)); |
| | | @ApiOperation("理片笼启用禁用") |
| | | @GetMapping("/updateStorageCageDisabled") |
| | | public Result updateStorageCageDisabled(int slot,int enableState) { |
| | | bigStorageCageService.updateStorageCageDisabled(slot,enableState); |
| | | return Result.build(200,"启用/禁用成功",1); |
| | | } |
| | | |
| | | } |