ZengTao
2024-04-23 d3784e22324ba6ae25fffc0e19874a07dd0d12ae
修改IP进行打包,修改进片方法参数
4个文件已修改
18 ■■■■■ 已修改文件
CanadaMes-ui/src/lang/locales/en-US.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CanadaMes-ui/src/lang/locales/zh-CN.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CanadaMes-ui/src/views/home/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CanadaMes-ui/src/lang/locales/en-US.json
@@ -1,6 +1,6 @@
{
  "Clear":"Clear",
  "ip":"localhost",
  "ip":"10.168.10.21",
  "systemTitle": "Login System",
  "usernamePlaceholder": "Please enter username",
  "passwordPlaceholder": "Please enter password",
CanadaMes-ui/src/lang/locales/zh-CN.json
@@ -1,6 +1,6 @@
{
  "Clear":"清除",
  "ip":"localhost",
  "ip":"10.168.10.21",
  "systemTitle": "登录系统",
  "usernamePlaceholder": "请输入用户名",
  "passwordPlaceholder": "请输入密码",
CanadaMes-ui/src/views/home/index.vue
@@ -632,8 +632,8 @@
                            {{ this.isConfirm == true ? $t('Not Allow') : $t('Allow') }}</el-button>
                    </el-form-item>
                    <el-form-item>
                        {{ $t('Current State') }}:{{ this.Scanningmethod == false ? $t('Automatic') : $t('Hand
                        Movement') }}
                        {{ $t('Current State') }}:{{ this.Scanningmethod == false ? $t('Automatic') :
                        $t('Hand Movement') }}
                        <el-button type="primary" @click="SwitchScanMethod()">{{ $t('Switch')
                            }}</el-button>
                    </el-form-item>
springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java
@@ -1,5 +1,6 @@
package com.example.springboot.service;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -14,6 +15,7 @@
import com.example.springboot.entity.Queue;
import com.example.springboot.entity.StorageCage;
import com.example.springboot.entity.StorageTask;
import com.example.springboot.entity.north_glass_buffer1;
import com.example.springboot.mapper.HomeMapper;
@Service
@@ -26,6 +28,9 @@
    @Autowired
    private SpianService spianService;
    @Autowired
    private JdbcConnections jdbcConnections;
    public void EndTask(int types) {
        String A01glassid1 = spianService.queGlassid("DB103.128", 14).toString();
@@ -179,7 +184,7 @@
        return Result.success(map);
    }
    public Result InsertQueueGlassId(Short id, Queue queue) {
    public Result InsertQueueGlassId(Short id, Queue queue) throws SQLException {
        Map<String, Object> map = new HashMap<>();
        Short zhi = 200;
@@ -189,7 +194,8 @@
        } else {
            if (id == 1) {
                // 调用伍存储过程
                zhi = spianService.selectAll(queue.getglassId());
                north_glass_buffer1 north_glass_buffer1 = jdbcConnections.SelectGlassByGlassIdOrderIdFrameId(queue.getglassId(), "", "");
                zhi = spianService.selectAll(north_glass_buffer1);
                if (zhi == 200) {
                    homeMapper.InsertQueueGlassId(queue, id);
                }