This commit is contained in:
2024-07-04 18:31:11 +08:00
parent 930c9fba1a
commit 1de75cdad4

View File

@@ -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<DeviceGroupEntity>().Where(x => x.PCode == factoryGrp.Code).AnyAsync(x => x.IsBusinessTrip))
{