test

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmUserRouter

type AdmUserRouter[ID webcloud.IDType, S, M, Q, T any] struct {
	*webcloud.BaseRouter[uint64, UserSDTO, UserMDTO, UserQDTO, UserDTO]
	// contains filtered or unexported fields
}

func (*AdmUserRouter[ID, S, M, Q, T]) Handlers

func (r *AdmUserRouter[ID, S, M, Q, T]) Handlers(router *ginstarter.RouterWrapper)

func (*AdmUserRouter[ID, S, M, Q, T]) Info

func (r *AdmUserRouter[ID, S, M, Q, T]) Info() *ginstarter.RouterInfo

type AuthorityUser

type AuthorityUser[ID uint64] struct {
	// contains filtered or unexported fields
}

func (AuthorityUser[ID]) GetIdentityID

func (a AuthorityUser[ID]) GetIdentityID() uint64

func (AuthorityUser[ID]) GetPlatform

func (a AuthorityUser[ID]) GetPlatform() webcloud.Platform

type User

type User struct {
	ID        uint64 `json:"id"`
	ClassName string `json:"className"`
}

User 映射数据库

type UserBizService

type UserBizService[ID webcloud.IDType, S, M, Q, D any] struct {
}

func (UserBizService[ID, S, M, Q, D]) BaseModifyByID

func (u UserBizService[ID, S, M, Q, D]) BaseModifyByID(update, condition map[string]any) (int64, error)

func (UserBizService[ID, S, M, Q, D]) BaseQuery

func (u UserBizService[ID, S, M, Q, D]) BaseQuery(condition map[string]any, result *[]*D) (int64, error)

func (UserBizService[ID, S, M, Q, D]) BaseQueryByID

func (u UserBizService[ID, S, M, Q, D]) BaseQueryByID(condition map[string]any, result *D) (int64, error)

func (UserBizService[ID, S, M, Q, D]) BaseQueryByPager

func (u UserBizService[ID, S, M, Q, D]) BaseQueryByPager(condition map[string]any, pager *webcloud.Pager[D]) error

func (UserBizService[ID, S, M, Q, D]) BaseQueryOne

func (u UserBizService[ID, S, M, Q, D]) BaseQueryOne(condition map[string]any, result *D) (int64, error)

func (UserBizService[ID, S, M, Q, D]) BaseRemoveByID

func (u UserBizService[ID, S, M, Q, D]) BaseRemoveByID(condition map[string]any) (int64, error)

func (UserBizService[ID, S, M, Q, D]) DefaultOrderBySQL

func (u UserBizService[ID, S, M, Q, D]) DefaultOrderBySQL() string

func (UserBizService[ID, S, M, Q, D]) MaxQueryCount

func (u UserBizService[ID, S, M, Q, D]) MaxQueryCount() int

func (UserBizService[ID, S, M, Q, D]) ModifyByID

func (u UserBizService[ID, S, M, Q, D]) ModifyByID(updated *M) bool

func (UserBizService[ID, S, M, Q, D]) ModifyByIDExcludeZeroField

func (u UserBizService[ID, S, M, Q, D]) ModifyByIDExcludeZeroField(updated *M) bool

func (UserBizService[ID, S, M, Q, D]) ModifyByIdUseMap

func (u UserBizService[ID, S, M, Q, D]) ModifyByIdUseMap(updated map[string]any, id ID) bool

func (UserBizService[ID, S, M, Q, D]) QueryByCond

func (u UserBizService[ID, S, M, Q, D]) QueryByCond(condition *Q) []*D

func (UserBizService[ID, S, M, Q, D]) QueryByID

func (u UserBizService[ID, S, M, Q, D]) QueryByID(id ID) *D

func (UserBizService[ID, S, M, Q, D]) QueryByPager

func (u UserBizService[ID, S, M, Q, D]) QueryByPager(pager webcloud.PagerDTO[Q]) webcloud.Pager[D]

func (UserBizService[ID, S, M, Q, D]) QueryOneByCond

func (u UserBizService[ID, S, M, Q, D]) QueryOneByCond(condition *Q) *D

func (UserBizService[ID, S, M, Q, D]) RemoveByCond

func (u UserBizService[ID, S, M, Q, D]) RemoveByCond(condition *D) bool

func (UserBizService[ID, S, M, Q, D]) RemoveByID

func (u UserBizService[ID, S, M, Q, D]) RemoveByID(id ID) bool

func (UserBizService[ID, S, M, Q, D]) RemoveByMap

func (u UserBizService[ID, S, M, Q, D]) RemoveByMap(condition map[string]any) bool

func (UserBizService[ID, S, M, Q, D]) Save

func (u UserBizService[ID, S, M, Q, D]) Save(save *S) (ID, error)

type UserDTO

type UserDTO struct {
	User
}

type UserMDTO

type UserMDTO struct {
}

type UserQDTO

type UserQDTO struct {
}

type UserSDTO

type UserSDTO struct {
}

type UsrUserRouter

type UsrUserRouter[ID webcloud.IDType, S, M, Q, T any] struct {
	*webcloud.BaseRouter[uint64, UserSDTO, UserMDTO, UserQDTO, UserDTO]
	// contains filtered or unexported fields
}

func (*UsrUserRouter[ID, S, M, Q, T]) Handlers

func (u *UsrUserRouter[ID, S, M, Q, T]) Handlers(router *ginstarter.RouterWrapper)

func (*UsrUserRouter[ID, S, M, Q, T]) Info

func (u *UsrUserRouter[ID, S, M, Q, T]) Info() *ginstarter.RouterInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL