From 03920f72fe2051349ba5c8872d243388765d3408 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期五, 05 一月 2024 15:03:52 +0800 Subject: [PATCH] 添加出片队列铝框暂停出片功能 --- springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java index cb92ba3..1c4a59b 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java @@ -58,8 +58,9 @@ // 鍒ゆ柇褰撳墠鏄惁鏈夋湭鎵ц鐨勪换鍔� int outnum = spianMapper.SelectOutSliceshu(); + int cageoutsum=spianMapper.Selectcageout(3); // 褰撴病鏈変换鍔℃墽琛屽苟涓斿嚭鐗囪溅绌洪棽鏃� - if (outnum == 0 && outstate == true && Plchome.isAllowQueue == true) { + if (outnum == 0 && outstate == true && Plchome.isAllowQueue == true&&cageoutsum==0) { // 鍒ゆ柇閾濇鍑虹墖闃熷垪琛ㄦ槸鍚︽湁寰呭嚭鐗囩殑鐜荤拑 String outglassid = spianMapper.SelectOutSlice(); if (outglassid != null) { -- Gitblit v1.8.0