|
@@ -84,6 +84,7 @@ public class SceneMarkShapeServiceImpl extends ServiceImpl<IMarkShapeMapper, Sce
|
|
|
Map<String, Long> imagePathIdMap = sceneMarkShapes.stream().collect(Collectors.toMap(SceneMarkShape::getImagePath, SceneMarkShape::getId));
|
|
|
|
|
|
List<SceneMarkShape> sceneMarkShapeList = BeanUtil.copyToList(param.getList(), SceneMarkShape.class);
|
|
|
+ sceneMarkShapeList.stream().forEach(v -> v.setNum(param.getNum()));
|
|
|
if(CollUtil.isNotEmpty(imagePathIdMap)){
|
|
|
sceneMarkShapeList.stream().forEach(v->{
|
|
|
v.setId(imagePathIdMap.get(v.getImagePath()));
|