From d2996857b130f443ba455dc6b2f73efc9b0116ca Mon Sep 17 00:00:00 2001 From: Yuan Date: Thu, 26 Oct 2023 17:05:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=AA=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api_v1/Appointment.Repository/ApptRepoJNC.cs | 48 ++++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/api_v1/Appointment.Repository/ApptRepoJNC.cs b/api_v1/Appointment.Repository/ApptRepoJNC.cs index 221e6ac..371f054 100644 --- a/api_v1/Appointment.Repository/ApptRepoJNC.cs +++ b/api_v1/Appointment.Repository/ApptRepoJNC.cs @@ -2672,9 +2672,9 @@ namespace Appointment.Repository if (curMeet == null) { var groups = ""; - if (baseMeet.Groups.IndexOf("1") != -1) groups += "上午"; - if (baseMeet.Groups.IndexOf("2") != -1) groups += "下午"; - if (baseMeet.Groups.IndexOf("3") != -1) groups += "晚上"; + if (baseMeet.Groups.IndexOf("1") != -1) groups += "早"; + if (baseMeet.Groups.IndexOf("2") != -1) groups += "中"; + if (baseMeet.Groups.IndexOf("3") != -1) groups += "晚"; equalStr.Add($"删除了{baseMeet.MeetingTime:yyyy-MM-dd}预订会议厅{baseMeet.MeetingRoom}{groups}"); } else @@ -2686,13 +2686,13 @@ namespace Appointment.Repository if (baseMeet.Groups != curMeet.Groups) { var baseGroups = ""; - if (baseMeet.Groups.IndexOf("1") != -1) baseGroups += "上午"; - if (baseMeet.Groups.IndexOf("2") != -1) baseGroups += "下午"; - if (baseMeet.Groups.IndexOf("3") != -1) baseGroups += "晚上"; + if (baseMeet.Groups.IndexOf("1") != -1) baseGroups += "早"; + if (baseMeet.Groups.IndexOf("2") != -1) baseGroups += "中"; + if (baseMeet.Groups.IndexOf("3") != -1) baseGroups += "晚"; var curMeetGroups = ""; - if (curMeet.Groups.IndexOf("1") != -1) curMeetGroups += "上午"; - if (curMeet.Groups.IndexOf("2") != -1) curMeetGroups += "下午"; - if (curMeet.Groups.IndexOf("3") != -1) curMeetGroups += "晚上"; + if (curMeet.Groups.IndexOf("1") != -1) curMeetGroups += "早"; + if (curMeet.Groups.IndexOf("2") != -1) curMeetGroups += "中"; + if (curMeet.Groups.IndexOf("3") != -1) curMeetGroups += "晚"; equalStr.Add($"会议场次从“{baseGroups}”更改为“{curMeetGroups}”"); } if (baseMeet.MeetingRoom != curMeet.MeetingRoom) @@ -2740,9 +2740,9 @@ namespace Appointment.Repository if (baseMeet == null) { var groups = ""; - if (curMeet.Groups.IndexOf("1") != -1) groups += "上午"; - if (curMeet.Groups.IndexOf("2") != -1) groups += "下午"; - if (curMeet.Groups.IndexOf("3") != -1) groups += "晚上"; + if (curMeet.Groups.IndexOf("1") != -1) groups += "早"; + if (curMeet.Groups.IndexOf("2") != -1) groups += "中"; + if (curMeet.Groups.IndexOf("3") != -1) groups += "晚"; equalStr.Add($"新增了{curMeet.MeetingTime:yyyy-MM-dd}预订会议厅{curMeet.MeetingRoom} {groups}"); } } @@ -2765,9 +2765,9 @@ namespace Appointment.Repository if (curCater == null) { var groups = ""; - if (baseCater.Groups.IndexOf("1") != -1) groups += "上午"; - if (baseCater.Groups.IndexOf("2") != -1) groups += "下午"; - if (baseCater.Groups.IndexOf("3") != -1) groups += "晚上"; + if (baseCater.Groups.IndexOf("1") != -1) groups += "早"; + if (baseCater.Groups.IndexOf("2") != -1) groups += "中"; + if (baseCater.Groups.IndexOf("3") != -1) groups += "晚"; equalStr.Add($"删除了{baseCater.CateringTime:yyyy-MM-dd}预订餐饮{baseCater.CateringRoom}{groups}"); } else @@ -2779,13 +2779,13 @@ namespace Appointment.Repository if (baseCater.Groups != curCater.Groups) { var baseGroups = ""; - if (baseCater.Groups.IndexOf("1") != -1) baseGroups += "上午"; - if (baseCater.Groups.IndexOf("2") != -1) baseGroups += "下午"; - if (baseCater.Groups.IndexOf("3") != -1) baseGroups += "晚上"; + if (baseCater.Groups.IndexOf("1") != -1) baseGroups += "早"; + if (baseCater.Groups.IndexOf("2") != -1) baseGroups += "中"; + if (baseCater.Groups.IndexOf("3") != -1) baseGroups += "晚"; var curMeetGroups = ""; - if (curCater.Groups.IndexOf("1") != -1) curMeetGroups += "上午"; - if (curCater.Groups.IndexOf("2") != -1) curMeetGroups += "下午"; - if (curCater.Groups.IndexOf("3") != -1) curMeetGroups += "晚上"; + if (curCater.Groups.IndexOf("1") != -1) curMeetGroups += "早"; + if (curCater.Groups.IndexOf("2") != -1) curMeetGroups += "中"; + if (curCater.Groups.IndexOf("3") != -1) curMeetGroups += "晚"; equalStr.Add($"场次从“{baseGroups}”更改为“{curMeetGroups}”"); } if (baseCater.CateringRoom != curCater.CateringRoom) @@ -2831,9 +2831,9 @@ namespace Appointment.Repository if (baseCater == null) { var groups = ""; - if (curCater.Groups.IndexOf("1") != -1) groups += "上午"; - if (curCater.Groups.IndexOf("2") != -1) groups += "下午"; - if (curCater.Groups.IndexOf("3") != -1) groups += "晚上"; + if (curCater.Groups.IndexOf("1") != -1) groups += "早"; + if (curCater.Groups.IndexOf("2") != -1) groups += "中"; + if (curCater.Groups.IndexOf("3") != -1) groups += "晚"; equalStr.Add($"新增了{curCater.CateringTime:yyyy-MM-dd}预订餐饮{curCater.CateringCode} {groups}"); } }