Merge branch 'S01-轨迹中台' of http://192.168.80.50:3000/Dotnet/SJZY.Track.Api into S01-轨迹中台

This commit is contained in:
dingenwen 2024-03-02 09:14:28 +08:00
commit 51099d850b
2 changed files with 6 additions and 1 deletions

View File

@ -2,4 +2,8 @@
public class SortTrackPushContentInput public class SortTrackPushContentInput
{ {
/// <summary>
/// 排序信息
/// </summary>
public List<Dictionary<int, int>> SortInfo { get; set; }
} }

View File

@ -96,7 +96,8 @@ public class TrackTemplateService : ApplicationService, ITransientDependency
a => a.SubSystemId == input.SubSystemId && a.Code == input.Code); a => a.SubSystemId == input.SubSystemId && a.Code == input.Code);
if (templateEntity != null) if (templateEntity != null)
{ {
throw new BusinessException(message: _stringLocalizer["TemplateExist"]); //throw new BusinessException(message: _stringLocalizer["TemplateExist"]);
throw new BusinessException("轨迹代码重复");
} }
#endregion 业务校验 #endregion 业务校验