fix .
This commit is contained in:
@@ -133,7 +133,7 @@ public class CreateDefinitelyGroupJob : BaseJob
|
|||||||
await DbContext.InsertAsync(factoryGrp);
|
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))
|
if (!await DbContext.Queryable<DeviceGroupEntity>().Where(x => x.PCode == factoryGrp.Code).AnyAsync(x => x.IsBusinessTrip))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user