|
|
@@ -2428,7 +2428,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
GoodsSpec goodsSpec = BeanUtil.toBean(x, GoodsSpec.class);
|
|
|
goodsSpec.setSpecId(null);
|
|
|
goodsSpec.setTenantId(newTenantId);
|
|
|
- goodsSpec.setOId(x.getOId());
|
|
|
+ goodsSpec.setOId(x.getSpecId());
|
|
|
return goodsSpec;
|
|
|
}).collect(Collectors.toList());
|
|
|
goodsSpecService.saveBatch(newGoodsSpecList);
|