From cf33278c73767f72e35a4898c23765f52a3bfd1d Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 03 十二月 2024 09:06:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/ywMes'

---
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollowqueue/controller/HollowGlassQueueInfoController.java |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollowqueue/controller/HollowGlassQueueInfoController.java b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollowqueue/controller/HollowGlassQueueInfoController.java
new file mode 100644
index 0000000..34c1fe9
--- /dev/null
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollowqueue/controller/HollowGlassQueueInfoController.java
@@ -0,0 +1,40 @@
+package com.mes.hollowqueue.controller;
+
+import com.mes.hollowqueue.entity.HollowGlassQueueInfo;
+import com.mes.hollowqueue.service.HollowGlassQueueInfoService;
+import com.mes.utils.Result;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * (HollowGlassQueueInfo)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2024-11-30 10:19:53
+ */
+@RestController
+@RequestMapping("hollowGlassQueueInfo")
+public class HollowGlassQueueInfoController {
+
+    @Resource
+    HollowGlassQueueInfoService hollowGlassQueueInfoService;
+
+    @ApiOperation("寮哄埗鍑虹墖")
+    @PostMapping("/forceOutGlass")
+    public Result<String> forceOutGlass(String flowCardId, int cell, int totalPairQuantity) {
+        hollowGlassQueueInfoService.forceOutGlass(flowCardId, cell, totalPairQuantity);
+        return Result.success("success");
+    }
+
+    @ApiOperation("鎸夌収绾胯矾鏌ヨ姝e湪鍑虹墖鐨勭幓鐠冮槦鍒�")
+    @PostMapping("/queryHollowGlassQueueInfo")
+    public Result<List<HollowGlassQueueInfo>> queryHollowGlassQueueInfo(int cell) {
+        return Result.success(hollowGlassQueueInfoService.queryHollowGlassQueueInfo(cell));
+    }
+}
+

--
Gitblit v1.8.0