轨迹模版新增校验
This commit is contained in:
parent
81a8e077fc
commit
e2802de99e
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user