Commit c41a05dc by wnb0128

车家智能数据服务 用户家设备类型查询--think.wang

1 parent f85b7e7b
...@@ -97,6 +97,7 @@ public class RemoteProductController { ...@@ -97,6 +97,7 @@ public class RemoteProductController {
List<RemoteDeviceResp> deviceRespList = new ArrayList<>(); List<RemoteDeviceResp> deviceRespList = new ArrayList<>();
SmartUserDevice record = new SmartUserDevice(); SmartUserDevice record = new SmartUserDevice();
record.setUserId(userId); record.setUserId(userId);
record.setType((byte)1);
List<SmartUserDevice> list = userDeviceService.getList(record); List<SmartUserDevice> list = userDeviceService.getList(record);
if(CollectionUtils.isEmpty(list)){ if(CollectionUtils.isEmpty(list)){
return deviceRespList; return deviceRespList;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!