|
@@ -63,6 +63,8 @@ public class IotCommonBomMaterialServiceImpl implements IotCommonBomMaterialServ
|
|
|
// 更新
|
|
|
IotCommonBomMaterialDO updateObj = BeanUtils.toBean(updateReqVO, IotCommonBomMaterialDO.class);
|
|
|
iotCommonBomMaterialMapper.updateById(updateObj);
|
|
|
+ // 更新此设备分类下的设备BOM (如果设备BOM的 bom_sync_status = 0)
|
|
|
+ iotBomService.syncDeviceBomAndMaterials(updateReqVO.getDeviceCategoryId());
|
|
|
}
|
|
|
|
|
|
@Override
|