package com.mes.hollow.controller; import com.mes.hollow.entity.dto.HollowBigStorageAndDetailsDTO; import com.mes.hollow.entity.vo.HollowBigStorageDetailsQueryVO; import com.mes.hollow.service.HollowBigStorageCageService; import com.mes.utils.Result; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; 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 javax.annotation.Resource; import java.util.List; /** * (HollowBigStorageCage)表控制层 * * @author makejava * @since 2024-11-21 09:22:39 */ @Api(tags = "中空理片笼详情") @RestController @RequestMapping("hollowBigStorageCage") public class HollowBigStorageCageController { @Resource HollowBigStorageCageService hollowBigStorageCageService; @ApiOperation("按照查询条件(设备id、流程卡、膜系)获取设备对应的笼子玻璃信息") @PostMapping("/queryHollowBigStorageCageDetail") public Result> queryHollowBigStorageCageDetail(@RequestBody HollowBigStorageDetailsQueryVO query) { return Result.build(200, "查询成功", hollowBigStorageCageService.queryHollowBigStorageCageDetail(query)); } @ApiOperation("复位:重置理片笼基础信息1、清除笼内状态为0的脏数据;2将空格子的尺寸置为初始尺寸 3、将不在笼内的流程卡的关系表重置") @PostMapping("/resetCage") public Result resetCage() { return Result.build(200, "重置成功", hollowBigStorageCageService.resetCage()); } }