fix:【【修改轨迹内容】轨迹标记没有值时,显示了id】https://www.tapd.cn/60863849/bugtrace/bugs/view?bug_id=1160863849001032585
This commit is contained in:
parent
4a759333ca
commit
63e4c8b999
@ -88,7 +88,7 @@
|
||||
/// <summary>
|
||||
/// 轨迹标记id
|
||||
/// </summary>
|
||||
public int TrackFlagId { get; set; }
|
||||
public int? TrackFlagId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹标记
|
||||
|
||||
@ -59,6 +59,8 @@ public class TrackContentService : ApplicationService
|
||||
}
|
||||
|
||||
var dto = ObjectMapper.Map<GetTrackContentDetailVO, GetTrackContentDetailDto>(detailInfo);
|
||||
|
||||
if (dto.TrackFlagId == 0) dto.TrackFlagId = null;
|
||||
return new UnifyResultDto<GetTrackContentDetailDto>("200", "", dto);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user