From d6111ca1fa9f70afc50c8213f81c9d78c14a6527 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 22 一月 2025 14:37:21 +0800 Subject: [PATCH] 阀门单独匹配修改 --- BLL/HStation.BLL.Assets.Core/02-httpclient/15-Tank/AssetsTankMain.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BLL/HStation.BLL.Assets.Core/02-httpclient/15-Tank/AssetsTankMain.cs b/BLL/HStation.BLL.Assets.Core/02-httpclient/15-Tank/AssetsTankMain.cs index 62d9c8e..342ad38 100644 --- a/BLL/HStation.BLL.Assets.Core/02-httpclient/15-Tank/AssetsTankMain.cs +++ b/BLL/HStation.BLL.Assets.Core/02-httpclient/15-Tank/AssetsTankMain.cs @@ -1,8 +1,4 @@ -锘縰sing Flurl.Http; -using HStation.Dto; -using Yw; -using Yw.CAL.HttpClient; -using Yw.Untity; +锘縰sing Yw.CAL.HttpClient; namespace HStation.CAL.HttpClient { @@ -13,12 +9,16 @@ { protected override string Prefix { - get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/AssetsTankMain"; } + get { return $"{HStation.BLL.Assets.ConfigHelper.HttpUrl}/Assets/Tank/Main"; } } - public Task<List<AssetsTankMainDto>> GetBySeriesID(long ID) + public async Task<List<AssetsTankMainDto>> GetBySeriesID(long ID) { - throw new NotImplementedException(); + var paras = new List<(string Name, object Value)>() + { + ("SeriesID",ID) + }; + return await GetUrl("GetBySeriesID@V1.0").Get<List<AssetsTankMainDto>>(paras); } /// <summary> -- Gitblit v1.9.3