租户参数查询条件更改

booking_auth_dev
wet 2 years ago
parent ba25ef47e7
commit 2c8b92d4fb

@ -4075,6 +4075,11 @@
租户ID不能为空
</summary>
</member>
<member name="F:Myshipping.Core.ErrorCode.Param008">
<summary>
业务大类不能为空
</summary>
</member>
<member name="T:Myshipping.Core.FileExtensionEnum">
<summary>
文件扩展枚举
@ -9250,7 +9255,7 @@
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.DjyTenantParamService.List(System.String)">
<member name="M:Myshipping.Core.Service.DjyTenantParamService.List(System.String,System.String)">
<summary>
获取租户参数类别
</summary>
@ -9300,7 +9305,7 @@
</member>
<member name="M:Myshipping.Core.Service.DjyTenantParamService.DeleteParamValue(System.Int64)">
<summary>
删除租户参数
删除参数
</summary>
<returns></returns>
</member>

@ -122,9 +122,9 @@ namespace Myshipping.Core.Service
/// </summary>
/// <returns></returns>
[HttpGet("/DJYTenantParam/list")]
public async Task<List<DjyTenantParam>> List(string Type, string ParaCode)
public async Task<List<DjyTenantParam>> List(string Type, string ParaName)
{
return await _rep.AsQueryable().WhereIF(!string.IsNullOrEmpty(Type), x => x.Type == Type).WhereIF(!string.IsNullOrEmpty(ParaCode), x => x.ParaCode == ParaCode).OrderBy(x => x.Sort).ToListAsync();
return await _rep.AsQueryable().WhereIF(!string.IsNullOrEmpty(Type), x => x.Type == Type).WhereIF(!string.IsNullOrEmpty(ParaName), x => x.ParaName.Contains(ParaName)).OrderBy(x => x.Sort).ToListAsync();
}
#endregion

@ -11,7 +11,7 @@ namespace Myshipping.Core.Service
Task Add(AddDJYTenantParamInput input);
Task Update(UpdateDJYTenantParamInput input);
Task Delete(long Id);
Task<List<DjyTenantParam>> List(string Type,string ParaCode);
Task<List<DjyTenantParam>> List(string Type,string ParaName);
Task<List<DjyTenantParamItem>> GetParamItem(string ParaCode);
Task AddParamItem(DjyTenantParamItem input);

@ -8,7 +8,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

Loading…
Cancel
Save