@@ -124,7 +124,7 @@ func (m *DAO) UpdatePresentation(info *model.TaPresentation) error {
"check_result",
"report_url",
}
- _, err := m.db.Update(info, cols, "id=?", info.Id)
+ _, err := m.db.Cols(cols...).Where("id = ?", info.Id).Update(info)
return err