Browse Source

Merge branch 'master' into groupmealmanage

groupmealmanage
zhaoy 9 months ago
parent
commit
7ce50cb0bc
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs
  2. +1
    -0
      BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs

+ 1
- 0
BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs View File

@@ -72,6 +72,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
Name = a.DeviceName,
AutoKey=a.AutoKey.ToString(),
Vesion=SqlFunc.Subqueryable<BPA_ProductVesion>().Where(x=>x.Id==a.ProductVersionId).First().Vesion,
PrductKey = SqlFunc.Subqueryable<BPA_Product>().Where(x => x.Id == a.ProductId).First().Key,
}) .ToListAsync();
return data;
}


+ 1
- 0
BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs View File

@@ -18,5 +18,6 @@ namespace BPA.SAAS.Manage.Comm.Model
public string Name { get; set; }
public string AutoKey { get; set; }
public string Vesion { get; set; }
public string PrductKey { get; set; }
}
}

Loading…
Cancel
Save