wu
2023-11-30 0ece3ba8c92df0438af52b8de6b9225d8ada4103
springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
@@ -2,11 +2,7 @@
import cn.hutool.json.JSONObject;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
@@ -14,7 +10,6 @@
import com.example.springboot.entity.Queue;
import com.example.springboot.entity.StorageCage;
import com.example.springboot.entity.alarmmg;
import com.example.springboot.entity.north_glass_buffer1;
import com.example.springboot.mapper.HomeMapper;
import com.example.springboot.mapper.SpianMapper;
import com.example.springboot.service.JdbcConnections;
@@ -29,7 +24,7 @@
    private JdbcConnections jdbcConnections;
    // public static int a=1;
    public static Boolean isAllowQueue=true;
    // public static Map b=new HashMap<>();
    // b.put()
    @Override
@@ -105,6 +100,9 @@
                out_slice.setstorageCage(homeMapper.SelectStorageGlassById(out_slice.getGlassId()));
            }
            jsonObject.append("listoutslice", listoutslice);
            //获取当前出片队列状态
            jsonObject.append("isAllowQueue", isAllowQueue);
            dbserve = WebSocketServer.applicationContext.getBean(JdbcConnections.class);
            boolean dbconnected = false;