@@ -106,7 +106,7 @@ func BatchUpdateChartDescription(chartInfoId int, descriptionList []*ChartDescri
}
if len(deleteIds) > 0 {
sql := `DELETE FROM chart_description WHERE id IN (`+utils.GetOrmInReplace(len(deleteIds))+`) AND chart_info_id = ?`
- _, err = tx.Raw(sql, chartInfoId).Exec()
+ _, err = tx.Raw(sql, deleteIds).Exec()
return