Commit d957588b by 111-PC\111

[+]产品名称修改

1 parent 38236882
......@@ -210,7 +210,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
RemoteDeviceResp resp = new RemoteDeviceResp();
resp.setProductId(productId);
resp.setUuid(object.getString("id"));
resp.setProductName(product.getProductName());
resp.setProductName(object.get("name")+"");
resp.setIconUrl(product.getIconUrl());
boolean flag = productType.getTypeName().contains(Constants.DEFAULT_DEVICE) ? true : false;
resp.setFlag(flag);
......@@ -220,6 +220,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
return deviceRespList.stream().sorted(Comparator.comparing(RemoteDeviceResp::getProductId).reversed()).collect(Collectors.toList());
}
/**
* 比较获取产品
* @param list
......@@ -236,5 +237,4 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
}
return null;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!