feat: 多条件查询待指派任务增加 summary ,计算每个字段的之和

This commit is contained in:
cjy 2025-11-17 11:35:45 +08:00
parent b10abb2aa6
commit 522eed2817
2 changed files with 2811 additions and 2574 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@ import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
_ "google.golang.org/protobuf/types/descriptorpb"
_ "github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
)
@ -597,6 +597,14 @@ func (this *TaskAssignRecordsQueryResponse) Validate() error {
}
}
}
if this.Summary != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Summary); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Summary", err)
}
}
return nil
}
func (this *TaskAssignRecordsSummary) Validate() error {
return nil
}
func (this *ArtistUploadStatsItem) Validate() error {