|
@@ -159,7 +159,9 @@ public class DeviceCreateIdsServiceImpl extends ServiceImpl<DeviceCreateIdsMappe
|
|
|
throw new CommRuntimeException("没有导出的数据");
|
|
|
}
|
|
|
List<String> infos = new ArrayList<>();
|
|
|
- list.forEach(deviceId -> infos.add(sysDictRedis.getValue() + deviceId));
|
|
|
+ for (String deviceId : list) {
|
|
|
+ infos.add(sysDictRedis.getValue() + deviceId);
|
|
|
+ }
|
|
|
QRCodeUtils.create(infos, 400, 400, "back1.png", list).download(list);
|
|
|
}
|
|
|
}
|