aa
This commit is contained in:
@@ -341,6 +341,7 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*mode
|
|||||||
VendorID: v.VendorID,
|
VendorID: v.VendorID,
|
||||||
VendorOrgCode: v.VendorOrgCode,
|
VendorOrgCode: v.VendorOrgCode,
|
||||||
}
|
}
|
||||||
|
if v.IsJxCat == model.NO {
|
||||||
thingMap.DeletedAt = utils.DefaultTimeValue
|
thingMap.DeletedAt = utils.DefaultTimeValue
|
||||||
if err2 := getThingMap(db, thingMap); err2 == nil {
|
if err2 := getThingMap(db, thingMap); err2 == nil {
|
||||||
thingMap.SyncStatus |= syncStatus
|
thingMap.SyncStatus |= syncStatus
|
||||||
@@ -353,6 +354,7 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*mode
|
|||||||
errList.AddErr(err2)
|
errList.AddErr(err2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
err = errList.GetErrListAsOne()
|
err = errList.GetErrListAsOne()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user