feat: integrate OA activation workflows and business migration
This commit is contained in:
@@ -167,7 +167,7 @@ func TestPerformanceOwnerAggregationAndDrilldownUseSameScope(t *testing.T) {
|
||||
if err != nil || count != 2 || len(rows) != 1 || rows[0].ContributorID != 9 {
|
||||
t.Fatal("contribution pagination must preserve total and stable row identity")
|
||||
}
|
||||
data, err := NewDashboardRepo(testData{db}).Overview(context.Background(), scope, []string{"lx"}, business.DashboardWindow{Begin: begin, End: end, PreviousBegin: begin.AddDate(0, 0, -3), PreviousEnd: begin.AddDate(0, 0, -1)})
|
||||
data, err := NewDashboardRepo(testData{db}, activationDatabases{}).Overview(context.Background(), scope, []string{"lx"}, business.DashboardWindow{Begin: begin, End: end, PreviousBegin: begin.AddDate(0, 0, -3), PreviousEnd: begin.AddDate(0, 0, -1)})
|
||||
if err != nil || data.Current.Effective != 1 || data.Current.ActiveChannels != 4 || portraitTestMoney(data.Current.Pay) != "1059.60" {
|
||||
t.Fatalf("首页按区间统计与绩效口径不一致: %+v %v", data, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user