diff --git a/Src/Dlhis.ScheduledTask/Jobs/CreateDefinitelyGroupJob.cs b/Src/Dlhis.ScheduledTask/Jobs/CreateDefinitelyGroupJob.cs index fb350d69..b5c74188 100644 --- a/Src/Dlhis.ScheduledTask/Jobs/CreateDefinitelyGroupJob.cs +++ b/Src/Dlhis.ScheduledTask/Jobs/CreateDefinitelyGroupJob.cs @@ -133,7 +133,7 @@ public class CreateDefinitelyGroupJob : BaseJob await DbContext.InsertAsync(factoryGrp); } - if (type == DeviceTypeEnumType.Door) + if (type == DeviceTypeEnumType.Door && grp == "*共用区域") { if (!await DbContext.Queryable().Where(x => x.PCode == factoryGrp.Code).AnyAsync(x => x.IsBusinessTrip)) {