From 81826e66f68a37486516ee93c4e11d92a00c3fb6 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期四, 21 十二月 2023 14:43:21 +0800 Subject: [PATCH] 增加清除id调用终止出片任务 --- springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java b/springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java index 0a351d4..94ca6f0 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java +++ b/springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java @@ -17,7 +17,7 @@ @Autowired private JdbcConnections jdbcConnections; - //鑾峰彇鐜荤拑鏄惁鍦ㄧ瀛愶紝鏄惁鍦ㄥ嚭鐗囬槦鍒� + // 鑾峰彇鐜荤拑鏄惁鍦ㄧ瀛愶紝鏄惁鍦ㄥ嚭鐗囬槦鍒� public List<north_glass_buffer1> SelectAluminumFrameInfoById(String FrameBarcode) throws SQLException { List<north_glass_buffer1> listAluminumFrame = jdbcConnections .SelectGlassByGlassIdOrderIdFrameIdss(FrameBarcode); @@ -28,24 +28,28 @@ return listAluminumFrame; } - //鏍规嵁閾濇id娣诲姞鐜荤拑鍒板嚭鐗囬槦鍒� - public void AddOutSliceS(String FrameBarcode) throws SQLException{ - List<north_glass_buffer1> north_glass_buffer1s=SelectAluminumFrameInfoById(FrameBarcode); + // 鏍规嵁閾濇id娣诲姞鐜荤拑鍒板嚭鐗囬槦鍒� + public void AddOutSliceS(String FrameBarcode) throws SQLException { + List<north_glass_buffer1> north_glass_buffer1s = SelectAluminumFrameInfoById(FrameBarcode); String flip = jdbcConnections.SelectFlipByFrameBarcode(FrameBarcode); - String position =jdbcConnections.SelectPositionByFrameBarcode(FrameBarcode); - int sequence=homeMapper.SelectMaxSquence(); + String position = jdbcConnections.SelectPositionByFrameBarcode(FrameBarcode); + int sequence = homeMapper.SelectMaxSquence(); for (north_glass_buffer1 north_glass_buffer1 : north_glass_buffer1s) { - Short state=0; - if(north_glass_buffer1.getOut_slice()==null){ - if(north_glass_buffer1.getstorageCage()==null){ - state=3; + Short state = 0; + if (north_glass_buffer1.getOut_slice() == null) { + if (north_glass_buffer1.getstorageCage() == null) { + state = 3; } - homeMapper.AddOutSliceS(north_glass_buffer1.getbarcode(), flip, FrameBarcode, north_glass_buffer1.getglasslengthmm().toString(), north_glass_buffer1.getglassheightmm().toString(), sequence, position, state); - sequence+=1; + homeMapper.AddOutSliceS(north_glass_buffer1.getbarcode(), flip, FrameBarcode, + north_glass_buffer1.getglasslengthmm().toString(), + north_glass_buffer1.getglassheightmm().toString(), sequence, position, state, + north_glass_buffer1.getordernumber(), north_glass_buffer1.getlistnumber(), + north_glass_buffer1.getboxnumber(), north_glass_buffer1.getglasslength().toString(), + north_glass_buffer1.getglassheight().toString()); + sequence += 1; } } } - } -- Gitblit v1.8.0