| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | return Result.build(200, "破损/拿走成功", null); |
| | | } |
| | | |
| | | @ApiOperation("中空理片笼格子禁用/启用") |
| | | @GetMapping("/updateHollowStorageCageDisabled") |
| | | public Result updateHollowStorageCageDisabled(int slot, int enableState) { |
| | | hollowBigStorageCageDetailsService.updateHollowStorageCageDisabled(slot, enableState); |
| | | return Result.build(200, "启用/禁用成功", 1); |
| | | } |
| | | |
| | | } |
| | | |