| | |
| | | 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(); |
| | |
| | | processSurveyService.setUpThreadRestart(); |
| | | } |
| | | //获取当前及放下最大的锁id |
| | | private int getMaxLockId(Integer stationId) { |
| | | public int getMaxLockId(Integer stationId) { |
| | | int lockId=mapper.getMaxLockId(stationId); |
| | | return lockId; |
| | | } |
| | |
| | | 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) { |