123456789101112131415161718192021222324252627282930313233343536 |
- package com.smppw.analysis.domain.service;
- import cn.hutool.core.map.MapUtil;
- import com.smppw.common.pojo.dto.DateValue;
- import com.smppw.common.pojo.enums.Frequency;
- import com.smppw.common.pojo.enums.NavType;
- import com.smppw.common.pojo.enums.Visibility;
- import java.util.List;
- import java.util.Map;
- public interface NavService {
- Map<String, List<DateValue>> getSecIdDateValueNavListMapFromRedisAndDB(List<String> mainSecIdList, List<String> benchmarkIdList, List<String> indexList,
- String startDate, String endDate, Integer curveTypeId, Integer strategyId,
- NavType navType, Visibility visibility, Map<String, Frequency> secFrequencyMap);
- default Map<String, List<DateValue>> getSecIdDateValueNavListMapByDb(List<String> allSecIdList, String startDate, String endDate,
- Visibility visibility, NavType navType) {
- return this.getSecIdDateValueNavListMapByDb(allSecIdList, startDate, endDate, null, null, visibility, navType, MapUtil.empty());
- }
- Map<String, List<DateValue>> getSecIdDateValueNavListMapByDb(List<String> allSecIdList, String startDate, String endDate,
- Integer curveTypeId, Integer strategyId, Visibility visibility, NavType navType, Map<String, Frequency> secFrequencyMap);
- Map<String, List<DateValue>> getManagerNavMap(List<String> managerIdList, String startDate, String endDate, Integer curveType, Integer strategy, NavType navType, Map<String, Frequency> secFrequencyMap);
- Map<String, List<DateValue>> getCompanyNavMap(List<String> companyIdList, String startDate, String endDate, Integer curveType, Integer strategy, NavType navType, Map<String, Frequency> secFrequencyMap);
- Map<String, List<DateValue>> getRongzhiIndexNavMap(List<String> rongzhiIndexIdList, String startDate, String endDate, NavType navType);
- Map<String, List<DateValue>> getMarketIndexNavMap(List<String> marketIndexIdList, String startDate, String endDate, NavType navType);
- Map<String, List<DateValue>> getPubliclyOfferedFundNavMap(List<String> fundIdList, String startDate, String endDate, NavType navType, Visibility visibility);
- Map<String, List<DateValue>> getPrivatelyOfferedFundNavMap(List<String> fundIdList, String startDate, String endDate, NavType navType, Visibility visibility);
- }
|