提交 078c6ffa authored 作者: zhoushaopan's avatar zhoushaopan

fix(3d模块): 入库存储渲染类型是装备并且形态是密码机

入库存储渲染类型是装备并且形态是密码机
上级 c44a9441
......@@ -918,7 +918,8 @@ public class StorageBillController {
List<DeviceLibraryPosition> deviceLibraryPositions = new ArrayList<>();
//开始存储装备的3D 修改需求 只渲染类型是密码机的设备 密码机的类型为1
// saveDevices = saveDevices.stream().filter(deviceLibrary -> deviceLibrary.getIsPart() == 0).collect(Collectors.toList());
saveDevices = saveDevices.stream().filter(deviceLibrary -> deviceLibrary.getType() == 1).collect(Collectors.toList());
saveDevices = saveDevices.stream().filter(deviceLibrary -> deviceLibrary.getType() == 1
&& deviceLibrary.getIsPart() == 0).collect(Collectors.toList());
saveDevices.forEach(deviceLibrary -> {
DeviceLibraryPosition deviceLibraryPosition = new DeviceLibraryPosition();
deviceLibraryPosition.setDeviceId(deviceLibrary.getId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论