|
@@ -340,7 +340,7 @@ func ChartInfoSaveBatch() (err error) {
|
|
|
return
|
|
|
}
|
|
|
// 批量上传图表信息
|
|
|
- condition = " and source=1 and forum_chart_info_id = 0 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))+") and resource_status !=2"
|
|
|
// 查询需要更新的图表信息总数
|
|
|
total, err = models.GetChartInfoCountByCondition(condition, []interface{}{chartClassifyIdList})
|
|
|
if err != nil {
|