Merge branch 'S01-轨迹中台' of http://192.168.80.50:3000/Dotnet/SJZY.Track.Api into S01-轨迹中台
This commit is contained in:
commit
0780315c9c
@ -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