【 1. 拉取映射新增编辑页面去除拉取轨迹代码和拉取轨迹内容】
https://www.tapd.cn/60863849/prong/tasks/view/1160863849001027892
This commit is contained in:
parent
0b65128051
commit
ae2aa614ce
@ -9,21 +9,11 @@ public class EditTrackPullContentInput
|
|||||||
|
|
||||||
public int? Id { get; set; }
|
public int? Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 服务商轨迹代码参数值
|
|
||||||
/// </summary>
|
|
||||||
public string? TrackContentCodeValue { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轨迹内容id
|
/// 轨迹内容id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? TrackContentId { get; set; }
|
public int? TrackContentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 服务商轨迹内容参数值
|
|
||||||
/// </summary>
|
|
||||||
public string? TrackContentValue { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 拉取轨迹关键字(正向)
|
/// 拉取轨迹关键字(正向)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -49,19 +39,8 @@ public class EditTrackPullContentInput
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string? TrackStatusValue { get; set; }
|
public string? TrackStatusValue { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 轨迹时区GMT
|
|
||||||
/// </summary>
|
|
||||||
[Obsolete]
|
|
||||||
public double? TrackTimeZone { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 兜底轨迹时区发生地
|
/// 兜底轨迹时区发生地
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? TrackTimePlaceValue { get; set; }
|
public int? TrackTimePlaceValue { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否完结
|
|
||||||
/// </summary>
|
|
||||||
public bool IsCompleted { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -161,18 +161,12 @@ public class TrackPullService : ApplicationService
|
|||||||
if (await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
if (await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
||||||
x.TrackContentId == input.TrackContentId)))
|
x.TrackContentId == input.TrackContentId)))
|
||||||
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentAny"]);
|
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentAny"]);
|
||||||
if (!input.TrackContentCodeValue.IsNullOrWhiteSpace() &&
|
|
||||||
await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
|
||||||
x.TrackContentCodeValue == input.TrackContentCodeValue)))
|
|
||||||
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentCodeValueAny"]);
|
|
||||||
if (!input.TrackStatusValue.IsNullOrWhiteSpace() &&
|
if (!input.TrackStatusValue.IsNullOrWhiteSpace() &&
|
||||||
await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
||||||
x.TrackStatusValue == input.TrackStatusValue)))
|
x.TrackStatusValue == input.TrackStatusValue)))
|
||||||
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentStatusValueAny"]);
|
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentStatusValueAny"]);
|
||||||
if (!input.TrackContentValue.IsNullOrWhiteSpace() &&
|
|
||||||
await _trackPullConfigRepository.IsContentAnyAsync(isContentAnyExp.And(x =>
|
|
||||||
x.TrackContentValue == input.TrackContentValue)))
|
|
||||||
throw new BusinessException(message: _stringLocalizer["IsTrackPullContentValueAny"]);
|
|
||||||
if (!input.TrackKeywords.IsNullOrEmpty())
|
if (!input.TrackKeywords.IsNullOrEmpty())
|
||||||
{
|
{
|
||||||
Expression<Func<TrackPullContentConfigEntity, bool>> trackKeywordExp = _ => false;
|
Expression<Func<TrackPullContentConfigEntity, bool>> trackKeywordExp = _ => false;
|
||||||
|
|||||||
@ -30,30 +30,12 @@ public class TrackPullContentConfigEntity : IFullAuditedBasicEntitys, IEntity
|
|||||||
[SugarColumn(ColumnName = "TrackStatusValue")]
|
[SugarColumn(ColumnName = "TrackStatusValue")]
|
||||||
public string? TrackStatusValue { get; set; }
|
public string? TrackStatusValue { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 服务商轨迹代码参数值
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "TrackContentCodeValue")]
|
|
||||||
public string? TrackContentCodeValue { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 服务商轨迹内容参数值
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "TrackContentValue")]
|
|
||||||
public string? TrackContentValue { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轨迹发生地参数值(主数据枚举)
|
/// 轨迹发生地参数值(主数据枚举)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnName = "TrackPlaceValue")]
|
[SugarColumn(ColumnName = "TrackPlaceValue")]
|
||||||
public int? TrackPlaceValue { get; set; }
|
public int? TrackPlaceValue { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 轨迹时区GMT
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "TrackTimeZone")]
|
|
||||||
public float? TrackTimeZone { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轨迹关键词(正向),多个逗分隔
|
/// 轨迹关键词(正向),多个逗分隔
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user