fix IsEnterDoorArea

This commit is contained in:
2025-09-16 22:42:43 +08:00
parent ec0c0fdbe7
commit 2e58a6116a

View File

@@ -249,7 +249,7 @@ public class AppointmentService : IAppointmentService
//sta = null, //状态 null或空时后台保存为"R"
newFunc = dto.IsEnterWorkplace ? 1 : 0, // 是否进入车间
yqgw = dto.IsEnterWorkplace
yqgw = dto.IsEnterDoorArea
? areas.Where(x => x.Type == AppointmentAreaEnumType.Door)
.Where(x => dto.ApplyDoorArea.Contains(x.CustomCode))
.Select(x => x.Name)