Merge pull request #12463 from ulleo/dev

fix(图表): 修复组合图插件不支持周环比的问题
This commit is contained in:
ulleo 2024-09-25 18:44:56 +08:00 committed by GitHub
commit ff6d69e095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -318,6 +318,9 @@ public class ChartMixService extends ViewPluginService {
return StringUtils.equalsIgnoreCase(calcType, "day_mom")
|| StringUtils.equalsIgnoreCase(calcType, "month_yoy")
|| StringUtils.equalsIgnoreCase(calcType, "year_yoy");
case "y_W":
return StringUtils.equalsIgnoreCase(calcType, "week_mom")
|| StringUtils.equalsIgnoreCase(calcType, "year_yoy");
}
return false;
}