|
@@ -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
|