BLL/HStation.BLL.Assets.Core/03-localclient/19-Pressmeter/AssetsPressmeterMain.cs
@@ -1,4 +1,5 @@ using HStation.Dto; using System.Linq; using Yw.Dto; namespace HStation.CAL.LocalClient @@ -51,6 +52,19 @@ } /// <summary> /// 通过 系列ID 获取 /// </summary> public async Task<List<AssetsPressmeterMainDto>> GetBySeriesID(long ID) { return await Task.Factory.StartNew(() => { var model = _service.GetAll(); var vm_list = model?.Where(x => x.SeriesID == ID).Select(x => new AssetsPressmeterMainDto(x)).ToList(); return vm_list; }); } /// <summary> /// 获取最大排序码 /// </summary> public async Task<int> GetMaxSortCode()