CanadaMes-ui/src/lang/locales/en-US.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CanadaMes-ui/src/views/home/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
springboot-vue3/src/main/java/com/example/springboot/service/JdbcConnections.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
CanadaMes-ui/src/lang/locales/en-US.json
@@ -3,8 +3,8 @@ "ip":"192.168.10.21", "Abort":"Abort", "Current scan":"Current scan", "Interior Out Bypass: Right":"Exterior Out Bypass: Right", "Exterior Out Bypass: Left":"Interior Out Bypass: Left", "Interior Out Bypass: Right":"Interior Out Bypass: Right", "Exterior Out Bypass: Left":"Exterior Out Bypass: Left", "Remove Frame":"Remove Frame", "Mes Connection failed":"Mes Connection failed", "Plc1 Connection failed":"Plc1 Connection failed", CanadaMes-ui/src/views/home/index.vue
@@ -1674,16 +1674,13 @@ confirmButtonText: this.$t('Yes'), cancelButtonText: this.$t('No'), type: 'warning' }).then(({ value }) => { if (this.password == value) { }).then(() => { UpdateTask(type, glassid, cell).then(res => { if (res.data.message3 == 200) { this.$message.success(this.$t('Operation successful')); } }); } else { this.$message.error(this.$t('Password error'));//密码错误 } }).catch(() => { this.$message({ type: 'info', @@ -1713,17 +1710,13 @@ confirmButtonText: this.$t('Yes'), cancelButtonText: this.$t('No'), type: 'warning' }).then(({ value }) => { if (this.password == value) { }).then(() => { if (state == 1) { DeleteByGlassID(glassid).then(res => { if (res.data.message3 == 200) { this.$message.success(this.$t('Operation successful')); } }); } else { this.$message.error(this.$t('No delete allowed')); } } else { this.$message.error(this.$t('Password error'));//密码错误 } @@ -1743,8 +1736,7 @@ confirmButtonText: this.$t('Yes'), cancelButtonText: this.$t('No'), type: 'warning' }).then(({ value }) => { if (this.password == value) { }).then(() => { if (state == 1) { OutByGlassID(glassid).then(res => { if (res.data.message2 == 200) { @@ -1760,9 +1752,6 @@ this.$message.error(this.$t('This glass is already in the Queue')); } }); } else { this.$message.error(this.$t('No out allowed')); } } else { this.$message.error(this.$t('Password error'));//密码错误 } @@ -1781,15 +1770,11 @@ confirmButtonText: this.$t('Yes'), cancelButtonText: this.$t('No'), type: 'warning' }).then(({ value }) => { if (this.password == value) { }).then(() => { this.insertcage = cage; this.insertcell = cell; this.inserttier = tier; this.showform(2); } else { this.$message.error(this.$t('Password error'));//密码错误 } }).catch(() => { this.$message({ type: 'info', @@ -1833,14 +1818,12 @@ confirmButtonText: this.$t('Yes'), cancelButtonText: this.$t('No'), type: 'warning' }).then(({ value }) => { if (this.password == value) { }).then(() => { Disabled(cage, cell, disabled).then(res => { if (res.data.message == 200) { this.$message.success(this.$t('Operation successful')); } }); } }).catch(() => { this.$message({ type: 'info', @@ -1858,7 +1841,6 @@ cancelButtonText: this.$t('No'), type: 'warning' }).then(() => { // if (this.password == value) { DeleteProductionQueueGlass(id).then(res => { if (res.data.message == 200) { this.$message.success(this.$t('Operation successful')); @@ -1866,7 +1848,6 @@ this.$message.error(this.$t('This frame has glass that is currently outing')); } }); // } }).catch(() => { this.$message({ type: 'info', springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java
@@ -250,7 +250,7 @@ Map<String, Object> map = new HashMap<>(); short result = homeMapper.SelectStorageByGlassId(queue.getglassId()); Double cagewidth = homeMapper.SelectCageWidth(cage, cell); if (cagewidth - queue.getglasswidth() - 400 < 0 || (cagewidth == 2750 && queue.getglasswidth() > cagewidth)) { if (cagewidth - queue.getglasswidth() - 600 < 0 || (cagewidth == 2750 && queue.getglasswidth() > cagewidth)) { map.put("message", "400"); } else { if (result > 0) { springboot-vue3/src/main/java/com/example/springboot/service/JdbcConnections.java
@@ -466,12 +466,12 @@ public static Connection getConn() throws SQLException { try { Connection conn = null; // conn = // DriverManager.getConnection("jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&characterEncoding=utf-8", // "root", "beibo.123/"); conn = DriverManager.getConnection( "jdbc:mysql://192.168.102.9:3306/production?serverTimezone=GMT%2B8&characterEncoding=utf-8&useSSL=false", "northglass", "n0rthgla55"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&characterEncoding=utf-8", "root", "beibo.123/"); // conn = DriverManager.getConnection( // "jdbc:mysql://192.168.102.9:3306/production?serverTimezone=GMT%2B8&characterEncoding=utf-8&useSSL=false", // "northglass", "n0rthgla55"); return conn; } catch (Exception e) { // TODO: handle exception springboot-vue3/src/main/java/com/example/springboot/service/SpianService.java
@@ -91,7 +91,7 @@ // 判断是否是第二片需要加间隔物 prctier = spianMapper.selectsum(cage1, storageCage2.getCell());// 传给prc的格子内玻璃数 if (prctier > 0) { cages1 = spianMapper.selectCage1(cage1, storageCage2.getCell(), widths + 400); cages1 = spianMapper.selectCage1(cage1, storageCage2.getCell(), widths + 600); } else { cages1 = spianMapper.selectCage1(cage1, storageCage2.getCell(), widths); }