This commit is contained in:
邹宗楠
2022-12-26 18:56:08 +08:00
parent a6aca5afe9
commit 4591bdf5f5
2 changed files with 5 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ func CreateThingMap(thingId int64, vendorThingID, appOrgCode, err string, thingT
Remark: err,
SyncStatus: syncStatus,
}
if thingMap.VendorThingID == "" {
return nil
}
WrapAddIDCULDEntity(thingMap, "jxadmin")
return CreateEntity(GetDB(), thingMap)