1
This commit is contained in:
@@ -42,6 +42,11 @@ func CreateThingMap(thingId int64, vendorThingID, appOrgCode, err string, thingT
|
||||
return CreateEntity(GetDB(), thingMap)
|
||||
}
|
||||
|
||||
func UpdateThingMap(thingMap *model.ThingMap) error {
|
||||
_, err := UpdateEntity(GetDB(), thingMap, "ID")
|
||||
return err
|
||||
}
|
||||
|
||||
// GetThingToTiktokMapList 抖店获取同步类型
|
||||
func GetThingToTiktokMapList(db *DaoDB, vendorId int, thingId int64, vendorOrgCode string) (cats []*model.ThingMap, err error) {
|
||||
sql := `
|
||||
|
||||
Reference in New Issue
Block a user