修改国际化表

Uat_Study
hang 2023-06-27 16:38:20 +08:00
parent 978b230f00
commit 4eb5c97725
3 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ namespace IRaCIS.Core.Application.ViewModel
public class InternationalizationQuery : PageInput
{
public string? FolderPath { get; set; }
public string? Description { get; set; }
public string? Code { get; set; }
public string? Value { get; set; }
@ -36,7 +36,7 @@ namespace IRaCIS.Core.Application.ViewModel
{
public Guid? Id { get; set; }
public int State { get; set; }
public string FolderPath { get; set; }
public string Description { get; set; }
public string Code { get; set; }
public string Value { get; set; }
public string ValueCN { get; set; }

View File

@ -29,10 +29,10 @@ namespace IRaCIS.Core.Application.Service
{
var internationalizationQueryable =_internationalizationRepository
.WhereIf(inQuery.FolderPath!=null,t=>t.FolderPath.Contains(inQuery.FolderPath))
.WhereIf(inQuery.Code != null, t => t.FolderPath.Contains(inQuery.Code))
.WhereIf(inQuery.Value != null, t => t.FolderPath.Contains(inQuery.Value))
.WhereIf(inQuery.ValueCN != null, t => t.FolderPath.Contains(inQuery.ValueCN))
.WhereIf(inQuery.Description!=null,t=>t.Description.Contains(inQuery.Description))
.WhereIf(inQuery.Code != null, t => t.Code.Contains(inQuery.Code))
.WhereIf(inQuery.Value != null, t => t.Value.Contains(inQuery.Value))
.WhereIf(inQuery.ValueCN != null, t => t.ValueCN.Contains(inQuery.ValueCN))
.ProjectTo<InternationalizationView>(_mapper.ConfigurationProvider);
var pageList = await internationalizationQueryable

View File

@ -33,7 +33,7 @@ namespace IRaCIS.Core.Domain.Models
public int State { get; set; }
public string FolderPath { get; set; }
public string Description { get; set; }
public string Code { get; set; }