Documentation
¶
Index ¶
- type AdmUserRouter
- type AuthorityUser
- type User
- type UserBizService
- func (u UserBizService[ID, S, M, Q, D]) BaseModifyByID(update, condition map[string]any) (int64, error)
- func (u UserBizService[ID, S, M, Q, D]) BaseQuery(condition map[string]any, result *[]*D) (int64, error)
- func (u UserBizService[ID, S, M, Q, D]) BaseQueryByID(condition map[string]any, result *D) (int64, error)
- func (u UserBizService[ID, S, M, Q, D]) BaseQueryByPager(condition map[string]any, pager *webcloud.Pager[D]) error
- func (u UserBizService[ID, S, M, Q, D]) BaseQueryOne(condition map[string]any, result *D) (int64, error)
- func (u UserBizService[ID, S, M, Q, D]) BaseRemoveByID(condition map[string]any) (int64, error)
- func (u UserBizService[ID, S, M, Q, D]) DefaultOrderBySQL() string
- func (u UserBizService[ID, S, M, Q, D]) MaxQueryCount() int
- func (u UserBizService[ID, S, M, Q, D]) ModifyByID(updated *M) bool
- func (u UserBizService[ID, S, M, Q, D]) ModifyByIDExcludeZeroField(updated *M) bool
- func (u UserBizService[ID, S, M, Q, D]) ModifyByIdUseMap(updated map[string]any, id ID) bool
- func (u UserBizService[ID, S, M, Q, D]) QueryByCond(condition *Q) []*D
- func (u UserBizService[ID, S, M, Q, D]) QueryByID(id ID) *D
- func (u UserBizService[ID, S, M, Q, D]) QueryByPager(pager webcloud.PagerDTO[Q]) webcloud.Pager[D]
- func (u UserBizService[ID, S, M, Q, D]) QueryOneByCond(condition *Q) *D
- func (u UserBizService[ID, S, M, Q, D]) RemoveByCond(condition *D) bool
- func (u UserBizService[ID, S, M, Q, D]) RemoveByID(id ID) bool
- func (u UserBizService[ID, S, M, Q, D]) RemoveByMap(condition map[string]any) bool
- func (u UserBizService[ID, S, M, Q, D]) Save(save *S) (ID, error)
- type UserDTO
- type UserMDTO
- type UserQDTO
- type UserSDTO
- type UsrUserRouter
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 NewAdmUserRouter ¶
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 UserBizService ¶
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 (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 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 NewUsrUserRouter ¶
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
Click to show internal directories.
Click to hide internal directories.