| | |
| | | |
| | | import com.mes.hollow.entity.HollowBigStorageCageDetails; |
| | | import com.mes.hollow.entity.dto.HollowBigStorageAndDetailsDTO; |
| | | import com.mes.hollow.entity.request.HollowBigCageDetailsRequest; |
| | | import com.mes.hollow.entity.vo.HollowBigCageDetailsVO; |
| | | import com.mes.hollow.service.HollowBigStorageCageDetailsService; |
| | | import com.mes.utils.Result; |
| | | 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); |
| | | } |
| | | |
| | | @ApiOperation("(列表)按列表照查询条件(设备id、流程卡、膜系)获取设备对应的笼子玻璃信息") |
| | | @PostMapping("/queryVerticalSheetCageDetailsList") |
| | | public Result<List<HollowBigCageDetailsVO>> queryVerticalSheetCageDetailsList(@RequestBody HollowBigCageDetailsRequest request) { |
| | | return Result.build(200, "查询成功", hollowBigStorageCageDetailsService.queryVerticalSheetCageDetailsList(request)); |
| | | } |
| | | } |
| | | |