Commit 712008c0 authored by 赵啸非's avatar 赵啸非

添加客户端资源部署

parent 2429b5ed
...@@ -229,7 +229,7 @@ public class DeviceModuleDistributeEntity extends DeviceModuleDistributeVo { ...@@ -229,7 +229,7 @@ public class DeviceModuleDistributeEntity extends DeviceModuleDistributeVo {
this.productName = ""; this.productName = "";
this.imageResolution = ""; this.imageResolution = "0";
this.imageResolutionValue = ""; this.imageResolutionValue = "";
......
...@@ -41,6 +41,9 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D ...@@ -41,6 +41,9 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D
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());
super.saveBefore(entity, context); super.saveBefore(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