From ec14c7c0b9a5d8240cfc3f2c80a48dfe1176f13e Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 28 十二月 2023 08:18:59 +0800 Subject: [PATCH] 测试更新 --- springboot-vue3/src/main/java/com/example/springboot/service/North_Glass_Buffer1Service.java | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 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..af4492d 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,27 @@ 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