| | |
| | | if (CollUtil.isNotEmpty(collect1)){ |
| | | collect3 = collect3.stream().filter(x -> !collect1.contains(x)).collect(Collectors.toList()); |
| | | } |
| | | String[] parts = Node.split("[.]"); |
| | | String par = parts[0]+parts[1]; |
| | | if (CollUtil.isNotEmpty(collect3)){ |
| | | collect3.forEach(x -> { |
| | | ReadWriteEntity readWriteEntity = new ReadWriteEntity(); |
| | | readWriteEntity.setIdentifier(x); |
| | | readWriteEntity.setIdentifier(par+"."+x); |
| | | readWriteEntity.setValue(2); |
| | | writeList.add(readWriteEntity); |
| | | }); |
| | |
| | | //数据库查询出的工位 |
| | | collect4.forEach(x -> { |
| | | ReadWriteEntity readWriteEntity = new ReadWriteEntity(); |
| | | readWriteEntity.setIdentifier(x); |
| | | readWriteEntity.setIdentifier(par+"."+x); |
| | | readWriteEntity.setValue(1); |
| | | writeList.add(readWriteEntity); |
| | | }); |
| | |
| | | // writeList.add(readWriteEntity); |
| | | // }); |
| | | // } |
| | | String[] parts = Node.split("[.]"); |
| | | |
| | | String a=passingStationCollectionServiceImpl.SelectSN(SNCode,parts[1]); |
| | | if (StrUtil.isNotBlank(a)){ |
| | | int input = Integer.parseInt(a); |