Ver Fonte

小修小补

Joey há 4 meses atrás
pai
commit
471a0ebc95
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      modules/bfiMatcher.dos

+ 1 - 2
modules/bfiMatcher.dos

@@ -154,8 +154,7 @@ def cal_entity_index_coe(entity_type, entity_info) {
     start_day = entity_info.price_date.min();
 
     // 取数据集每个基金组合指定日期之前5年至今的周净值
-    s_json = (SELECT entity_id AS sec_id, price_date.temporalAdd(-5y) AS price_date FROM entity_info).toStdJson();
-
+	s_json = (SELECT entity_id AS sec_id, price_date.temporalAdd(-5y) AS price_date FROM entity_info).toStdJson();
 	nav_entity = get_nav_for_return_calculation(entity_type, 'w', s_json);
 
 	if(nav_entity.isVoid() || nav_entity.size() == 0) return null;