Explorar el Código

定时更新图表到资源库中

xyxie hace 3 semanas
padre
commit
168916dbb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {