From e2802de99ebaddf7ca8978e24adb7444a21e7e59 Mon Sep 17 00:00:00 2001
From: moyongzhen <2534173414@qq.com>
Date: Sat, 2 Mar 2024 09:10:00 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E6=A8=A1=E7=89=88?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Services/TrackTemplates/TrackTemplateService.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs b/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
index 367f2cda..2365b632 100644
--- a/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
+++ b/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
@@ -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
From 6d7c28652b217e43fd96f10e1ccd91781961ab87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9F=B3=E6=96=87=E7=BF=94?= <878130837@qq.com>
Date: Sat, 2 Mar 2024 09:13:43 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E8=BF=98=E5=8E=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dtos/TrackPush/SortTrackPushContentInput.cs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/SJZY.Track.Application.Contract/Dtos/TrackPush/SortTrackPushContentInput.cs b/src/SJZY.Track.Application.Contract/Dtos/TrackPush/SortTrackPushContentInput.cs
index f4ecab4c..9d68df98 100644
--- a/src/SJZY.Track.Application.Contract/Dtos/TrackPush/SortTrackPushContentInput.cs
+++ b/src/SJZY.Track.Application.Contract/Dtos/TrackPush/SortTrackPushContentInput.cs
@@ -2,4 +2,8 @@
public class SortTrackPushContentInput
{
+ ///
+ /// 排序信息
+ ///
+ public List> SortInfo { get; set; }
}
\ No newline at end of file