fix trim空格

This commit is contained in:
2026-01-21 14:58:53 +08:00
parent c7fce25959
commit 0e91f09605
2 changed files with 4 additions and 1 deletions

View File

@@ -78,6 +78,8 @@ public class AppointmentService : IAppointmentService
foreach (var item in request.Items)
{
item.IdNo = item.IdNo.Trim();
if (item.IsEnterDoorArea && areas.Where(x => x.Type == AppointmentAreaEnumType.Door)
.Select(x => x.CustomCode)
.Contains(item.ApplyDoorArea) == false)