轨迹模版新增校验

This commit is contained in:
moyongzhen 2024-03-02 09:10:00 +08:00
parent 81a8e077fc
commit e2802de99e

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