fix 处理门岗名称
This commit is contained in:
@@ -250,8 +250,8 @@ public class AppointmentService : IAppointmentService
|
||||
|
||||
newFunc = dto.IsEnterWorkplace ? 1 : 0, // 是否进入车间
|
||||
yqgw = dto.IsEnterWorkplace
|
||||
? areas.Where(x => x.Type == AppointmentAreaEnumType.Workplace)
|
||||
.Where(x => dto.ApplyWorkplaceAreas.Contains(x.CustomCode))
|
||||
? areas.Where(x => x.Type == AppointmentAreaEnumType.Door)
|
||||
.Where(x => dto.ApplyDoorArea.Contains(x.CustomCode))
|
||||
.Select(x => x.Name)
|
||||
.Distinct().Join(",")
|
||||
: string.Empty // 门岗名称
|
||||
|
||||
Reference in New Issue
Block a user