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