fix
This commit is contained in:
@@ -35,3 +35,6 @@ func (bm *FsProductTemplateBasemapModel) UpdateBaseMapWithTransaction(ctx contex
|
||||
Where("`status` = ? and `id` not in (?)", 1, notInIds).Update("status", 0).Error
|
||||
})
|
||||
}
|
||||
func (bm *FsProductTemplateBasemapModel) Create(ctx context.Context, data *FsProductTemplateBasemap) error {
|
||||
return bm.db.WithContext(ctx).Create(&data).Error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user