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> getSecIdDateValueNavListMapFromRedisAndDB(List mainSecIdList, List benchmarkIdList, List indexList, String startDate, String endDate, Integer curveTypeId, Integer strategyId, NavType navType, Visibility visibility, Map secFrequencyMap); default Map> getSecIdDateValueNavListMapByDb(List allSecIdList, String startDate, String endDate, Visibility visibility, NavType navType) { return this.getSecIdDateValueNavListMapByDb(allSecIdList, startDate, endDate, null, null, visibility, navType, MapUtil.empty()); } Map> getSecIdDateValueNavListMapByDb(List allSecIdList, String startDate, String endDate, Integer curveTypeId, Integer strategyId, Visibility visibility, NavType navType, Map secFrequencyMap); Map> getManagerNavMap(List managerIdList, String startDate, String endDate, Integer curveType, Integer strategy, NavType navType, Map secFrequencyMap); Map> getCompanyNavMap(List companyIdList, String startDate, String endDate, Integer curveType, Integer strategy, NavType navType, Map secFrequencyMap); Map> getRongzhiIndexNavMap(List rongzhiIndexIdList, String startDate, String endDate, NavType navType); Map> getMarketIndexNavMap(List marketIndexIdList, String startDate, String endDate, NavType navType); Map> getPubliclyOfferedFundNavMap(List fundIdList, String startDate, String endDate, NavType navType, Visibility visibility); Map> getPrivatelyOfferedFundNavMap(List fundIdList, String startDate, String endDate, NavType navType, Visibility visibility); }