whyclxw
2025-04-17 efd756706f9ffacd21992714f7fc97e8d477df20
src/main/java/com/whyc/service/LockInfService.java
@@ -121,7 +121,7 @@
        return new Response().set(1,true);
    }
    //包机组操作
    private void insertInbaoji(Integer stationId,Integer lockId){
    public void insertInbaoji(Integer stationId,Integer lockId){
        //重启线程并将锁加到当前人的包机组
        UserInf uinf= ActionUtil.getUser();
        QueryWrapper wrapper1=new QueryWrapper();
@@ -163,7 +163,7 @@
        processSurveyService.setUpThreadRestart();
    }
    //获取当前及放下最大的锁id
    private int getMaxLockId(Integer stationId) {
    public int getMaxLockId(Integer stationId) {
        int lockId=mapper.getMaxLockId(stationId);
        return lockId;
    }
@@ -217,14 +217,7 @@
        mapper.update((LockInf) ActionUtil.objeNull,wrapper);
        return new Response().set(1,true);
    }
    //查询所有锁名信息(用于下拉)
    /*public Response getLinf() {
        List<LockInf> list=mapper.selectList(null);
        List<String> lnameList = list.stream()
                .map(LockInf::getLockName) // 提取名字
                .collect(Collectors.toList()); // 转换为列表
        return new Response().setII(1,list!=null,lnameList,"查询所有锁名信息(用于下拉)");
    }*/
    //查询屏柜的全部类型(下拉)
    public Response getScreenType(Integer uid) {