Commit 1aa522ff authored by 赵啸非's avatar 赵啸非

添加客户端资源部署

parent 5fec45e8
......@@ -613,6 +613,8 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
@Override
protected void updateBefore(DeviceEntity entity, Context context) throws AppException {
ProductEntity productEntity = productService.get(entity.getProductId(), context);
entity.setProductCode(productEntity.getProductCode());
updateDeviceHomeUrl(entity);
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