WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceInfoService.cs
@@ -21,6 +21,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; @@ -41,6 +42,11 @@ _mapper = mapper; } public override WebResponseContent AddData(SaveModel saveModel) { return base.AddData(saveModel); } public async Task<List<DeviceInfoDTO>> QueryDeviceProInfos() { List<Dt_DeviceInfo> deviceInfos = await Db.Queryable<Dt_DeviceInfo>().Where(x => true).Includes(x => x.ProtocolList).ToListAsync();