SetThingMapSyncStatus中的bug修复
This commit is contained in:
@@ -38,7 +38,7 @@ func GetThingMapMap(db *DaoDB, thingType int, vendorIDs, thingIDs []int) (thingM
|
||||
func SetThingMapSyncStatus(db *DaoDB, vendorIDs []int, vendorOrgCodes []string, thingType int, thingIDs []int, syncStatus int8) (num int64, err error) {
|
||||
sql := `
|
||||
UPDATE thing_map t1
|
||||
SET t1.sync_status |= ?
|
||||
SET t1.sync_status = t1.sync_status | ?
|
||||
WHERE t1.deleted_at = ? AND t1.thing_type = ?
|
||||
`
|
||||
sqlParams := []interface{}{
|
||||
|
||||
Reference in New Issue
Block a user