Roc 1 month ago
parent
commit
ec4c38d664
1 changed files with 2 additions and 1 deletions
  1. 2 1
      models/data_manage/predict_edb_conf.go

+ 2 - 1
models/data_manage/predict_edb_conf.go

@@ -138,7 +138,8 @@ func GetPredictEdbInfoAllCalculate(edbInfoIdList []int) (list []*EdbInfo, err er
 	if num <= 0 {
 		return
 	}
-	sql := ` SELECT DISTINCT b.* FROM predict_edb_conf AS a
+	sql := ` SELECT DISTINCT b.edb_info_id,b.edb_info_type,b.source_name,b.source,b.edb_code,b.edb_name,b.edb_name_source,b.frequency,b.unit,b.start_date,b.end_date,b.classify_id,b.sys_user_id,b.sys_user_real_name,b.create_time,b.modify_time,b.unique_code,b.min_value,b.max_value,b.edb_type,b.is_update,b.sort,b.latest_date,b.latest_value,b.move_type,b.move_frequency,b.no_update,b.server_url,b.edb_name_en,b.unit_en,b.chart_image,b.calendar,b.empty_type,b.max_empty_type,b.data_date_type,b.manual_save,b.terminal_code,b.data_update_time,b.er_data_update_date,b.source_index_name,b.end_value,b.sub_source,b.sub_source_name,b.indicator_code,b.stock_code,b.is_join_permission,b.base_modify_time,b.is_static_data,b.set_update_time,b.original_edb_code,b.public_status,b.edb_public_classify_id,b.public_time,b.public_sort
+ FROM predict_edb_conf AS a
 			 INNER JOIN edb_info AS b ON a.source_edb_info_id=b.edb_info_id
 	        WHERE a.predict_edb_info_id in (` + utils.GetOrmInReplace(num) + `)
 			 ORDER BY b.edb_info_id ASC `