mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Fix logic recording transition
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/config"
|
||||
m "gitlab.com/mbugroup/lti-api.git/internal/middleware"
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/modules/repports/dto"
|
||||
repportRepo "gitlab.com/mbugroup/lti-api.git/internal/modules/repports/repositories"
|
||||
@@ -256,11 +257,11 @@ func (s *repportService) GetProductionResult(ctx *fiber.Ctx, params *validation.
|
||||
|
||||
const (
|
||||
recordsPerWeek = 7
|
||||
defaultStartWoa = 18
|
||||
defaultStdBw = 1951
|
||||
defaultBw = 0
|
||||
defaultUniformText = "90% up"
|
||||
)
|
||||
defaultStartWoa := config.LayingWeekStart()
|
||||
|
||||
if params.Limit <= 0 {
|
||||
params.Limit = 10
|
||||
|
||||
Reference in New Issue
Block a user