소스 검색

小修小补

Joey 4 달 전
부모
커밋
471a0ebc95
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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;