mirror of
https://github.com/dataease/dataease.git
synced 2026-06-12 16:31:11 +08:00
feat(视图): 快速计算支持周环比
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user