|
@@ -99,7 +99,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
Map<IndexDataType, List<IndexBaseMonthData>> typeDateMap = indexBaseDatas.stream().filter(d->Objects.nonNull(d.getDataType())).collect(Collectors.groupingBy(IndexBaseMonthData::getDataType));
|
|
|
|
|
|
for (IndexDataType dataType : IndexDataType.values()) {
|
|
|
- if(typeDateMap.containsKey(dataType)){
|
|
|
+ if(typeDateMap.containsKey(dataType)||(Objects.nonNull(dataTypes)&&!dataTypes.contains(dataType.getCode()))){
|
|
|
continue;
|
|
|
}
|
|
|
|