zhoushihao
2025-04-21 8b24fb7dc4040372e4e785e96ea8eb487cf65207
hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollowqueue/controller/HollowGlassQueueInfoController.java
@@ -5,6 +5,7 @@
import com.mes.utils.Result;
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;
@@ -29,5 +30,18 @@
    public Result<List<HollowGlassQueueInfo>> queryHollowGlassQueueInfoByTask(int taskId) {
        return Result.success(hollowGlassQueueInfoService.queryHollowGlassQueueInfoByTask(taskId));
    }
    @ApiOperation("铝框确认/破损")
    @PostMapping("/confirmBorder")
    public Result confirmBorder(@RequestBody HollowGlassQueueInfo hollowGlassQueueInfo) {
        hollowGlassQueueInfoService.confirmBorder(hollowGlassQueueInfo);
        return Result.build(200, "修改成功", 1);
    }
    @ApiOperation("铝框查询")
    @PostMapping("/queryHollowGlassQueueInfoByLine")
    public Result queryHollowGlassQueueInfoByLine(@RequestBody HollowGlassQueueInfo hollowGlassQueueInfo) {
        return Result.build(200, "操作成功", hollowGlassQueueInfoService.queryHollowGlassQueueInfoByLine(hollowGlassQueueInfo.getCell()));
    }
}