This commit is contained in:
2024-07-04 18:31:11 +08:00
parent 6c4ad11c28
commit 9618c3f772

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))
{