Commit 16074625 authored by 赵啸非's avatar 赵啸非

部署资源添加分辨率字典

parent 7b4f8f79
...@@ -67,7 +67,7 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDCacheServiceI ...@@ -67,7 +67,7 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDCacheServiceI
ProductEntity productEntity = productService.get(entity.getProductId(), context); ProductEntity productEntity = productService.get(entity.getProductId(), context);
entity.setProductCode(productEntity.getProductCode()); entity.setProductCode(productEntity.getProductCode());
entity.setProductName(productEntity.getProductName()); entity.setProductName(productEntity.getProductName());
entity.setImageResolutionValue(ImageReEnum.getByValue(Integer.parseInt(entity.getImageResolution())).getDesc()); //entity.setImageResolutionValue(ImageReEnum.getByValue(Integer.parseInt(entity.getImageResolution())).getDesc());
super.updateBefore(entity, context); super.updateBefore(entity, context);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment