| | |
| | | * @author zhoush |
| | | * @since 2024-03-27 |
| | | */ |
| | | @Api(description = "理片笼详情") |
| | | @Api(tags = "理片笼详情") |
| | | @RestController |
| | | @RequestMapping("/bigStorageCageDetails") |
| | | public class BigStorageCageDetailsController { |
| | |
| | | return Result.build(200, "查询成功", bigStorageCageDetailsService.selectTemperingGlass()); |
| | | } |
| | | |
| | | @ApiOperation("是否调度开关") |
| | | @PostMapping("/dispatchSwitch") |
| | | public Result dispatchSwitch(Boolean flag) { |
| | | bigStorageCageDetailsService.dispatchSwitch(flag); |
| | | return Result.build(200, "修改成功", redisUtil.getCacheObject("dispatchSwitch")); |
| | | } |
| | | |
| | | @ApiOperation("是否钢化开关") |
| | | @PostMapping("/temperingSwitch") |
| | | public Result temperingSwitch(Boolean flag) { |