Merge pull request 'S01-轨迹中台' (#18) from S01-轨迹中台 into dev

Reviewed-on: http://192.168.80.50:3000/Dotnet/SJZY.Track.Api/pulls/18
This commit is contained in:
liuwenxiang 2024-03-02 11:52:20 +08:00
commit 59a5818be5
2 changed files with 10 additions and 10 deletions

View File

@ -22,40 +22,40 @@ public class GetTrackPullContentPageOutputVO
/// <summary>
/// 拉取轨迹内容代码
/// </summary>
public string TrackContentCodeValue { get; set; }
public string? TrackContentCodeValue { get; set; }
/// <summary>
/// 拉取轨迹内容
/// </summary>
public bool? TrackContentValue { get; set; }
public string? TrackContentValue { get; set; }
/// <summary>
/// 拉取轨迹关键字(正向)
/// </summary>
public string TrackKeyword { get; set; }
public string? TrackKeyword { get; set; }
/// <summary>
/// 拉取轨迹关键字(正向)
/// </summary>
public List<string> TrackKeywords { get; set; }
public List<string>? TrackKeywords { get; set; }
/// <summary>
/// 拉取轨迹关键字(反向)
/// </summary>
public string TrackKeywordReverse { get; set; }
public string? TrackKeywordReverse { get; set; }
/// <summary>
/// 拉取轨迹关键字(反向)
/// </summary>
public List<string> TrackKeywordsReverse { get; set; }
public List<string>? TrackKeywordsReverse { get; set; }
/// <summary>
/// 轨迹发生地
/// </summary>
public string TrackPlaceValue { get; set; }
public string? TrackPlaceValue { get; set; }
/// <summary>
/// 拉取轨迹状态
/// </summary>
public string TrackStatusValue { get; set; }
public string? TrackStatusValue { get; set; }
}

View File

@ -47,8 +47,8 @@ public class TrackPullConfigRepository : BasicRepository<TrackPullConfigEntity>,
}, true)
.Mapper(x =>
{
x.TrackKeywords = x.TrackKeyword.Split(',').ToList();
x.TrackKeywordsReverse = x.TrackKeywordReverse.Split(',').ToList();
x.TrackKeywords = x.TrackKeyword?.Split(',').ToList();
x.TrackKeywordsReverse = x.TrackKeywordReverse?.Split(',').ToList();
})
.ToPagedListAsync(input.PageIndex, input.PageSize);
}