Merge pull request #8557 from dataease/pr@dev@feat_week_mom

feat(视图): 快速计算支持周环比
This commit is contained in:
Junjun 2024-03-18 13:38:07 +08:00 committed by GitHub
commit 878cac2434
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1684,6 +1684,9 @@ public class ChartViewService {
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;
}