Browse Source

下架图表

xyxie 3 weeks ago
parent
commit
cb9a3bb0be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/eta_forum/eta_forum_hub.go

+ 1 - 1
services/eta_forum/eta_forum_hub.go

@@ -791,7 +791,7 @@ func ChartInfoDeleteBatch(chartClassifyInfo *data_manage.ChartClassify, sysUser
 		chartClassifyIdList = append(chartClassifyIdList, strconv.Itoa(v.ChartClassifyId))
 	}
 	// 批量删除图表信息
-	condition := "source=? and chart_classify_id in ?"
+	condition := " AND source=? AND chart_classify_id in ?"
 	total, err := data_manage.GetChartInfoCountByCondition(condition, []interface{}{chartClassifyInfo.Source, chartClassifyIdList})
 	if err != nil {
 		return