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

This commit is contained in:
柳文翔 2024-03-02 09:13:45 +08:00
commit 0780315c9c

View File

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