Browse Source

定时更新图表到资源库中

xyxie 3 weeks ago
parent
commit
168916dbb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/chart_info.go

+ 1 - 1
services/chart_info.go

@@ -333,7 +333,7 @@ func ChartInfoSaveBatch() (err error) {
 		return
 	}
 	// 批量上传图表信息
-	condition = " and source=1 and forum_chart_info_id = 0 and resource_status !=1 and chart_classify_id in ("+utils.GetOrmInReplace(len(chartClassifyIdList))+") "
+	condition = " and source=1 and forum_chart_info_id = 0  and chart_classify_id in ("+utils.GetOrmInReplace(len(chartClassifyIdList))+") "
 	// 查询需要更新的图表信息总数
 	total, err = models.GetChartInfoCountByCondition(condition, []interface{}{chartClassifyIdList})
 	if err != nil {