feat: entgo query .
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
"entgo.io/ent/dialect/sql"
|
"entgo.io/ent/dialect/sql"
|
||||||
"github.com/go-kratos/kratos/v2/encoding"
|
"github.com/go-kratos/kratos/v2/encoding"
|
||||||
|
|
||||||
"restroom-system/pkg/util/stringcase"
|
"github.com/tx7do/kratos-utils/stringcase"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package entgo
|
|||||||
import (
|
import (
|
||||||
"entgo.io/ent/dialect/sql"
|
"entgo.io/ent/dialect/sql"
|
||||||
|
|
||||||
paging "restroom-system/pkg/util/pagination"
|
paging "github.com/tx7do/kratos-utils/pagination"
|
||||||
)
|
)
|
||||||
|
|
||||||
func BuildPaginationSelector(page, pageSize int32, noPaging bool) func(*sql.Selector) {
|
func BuildPaginationSelector(page, pageSize int32, noPaging bool) func(*sql.Selector) {
|
||||||
|
|||||||
Reference in New Issue
Block a user