Documentation ¶
Overview ¶
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : goods_query.go
- author : jarryliu
- date : 2016-04-23 12:37
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
Index ¶
- type ContentQuery
- type GoodsQuery
- type MemberQuery
- func (this *MemberQuery) FilterMemberByUsrOrPhone(partnerId int, key string) []*dto.SimpleMember
- func (this *MemberQuery) GetLatestBalanceInfoByKind(memberId int, kind int) *member.BalanceInfoValue
- func (this *MemberQuery) GetMemberInviRank(partnerId int, allTeam bool, levelComp string, level int, startTime int64, ...) []*dto.RankMember
- func (this *MemberQuery) GetMemberList(partnerId int, ids []int) []*dto.MemberSummary
- func (this *MemberQuery) QueryBalanceLog(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
- func (this *MemberQuery) QueryPagerOrder(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
- type PartnerQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentQuery ¶
func NewContentQuery ¶
func NewContentQuery(c db.Connector) *ContentQuery
type GoodsQuery ¶
func NewGoodsQuery ¶
func NewGoodsQuery(c db.Connector) *GoodsQuery
func (GoodsQuery) GetPagedOnShelvesGoodsByKeyword ¶
func (this GoodsQuery) GetPagedOnShelvesGoodsByKeyword(partnerId int, start, end int, keyword, where, orderBy string) (total int, goods []*valueobject.Goods)
type MemberQuery ¶
func NewMemberQuery ¶
func NewMemberQuery(c db.Connector) *MemberQuery
func (*MemberQuery) FilterMemberByUsrOrPhone ¶
func (this *MemberQuery) FilterMemberByUsrOrPhone(partnerId int, key string) []*dto.SimpleMember
筛选会员根据用户或者手机
func (*MemberQuery) GetLatestBalanceInfoByKind ¶
func (this *MemberQuery) GetLatestBalanceInfoByKind(memberId int, kind int) *member.BalanceInfoValue
获取最近的余额变动信息
func (*MemberQuery) GetMemberInviRank ¶
func (this *MemberQuery) GetMemberInviRank(partnerId int, allTeam bool, levelComp string, level int, startTime int64, endTime int64, num int) []*dto.RankMember
会员推广排名
func (*MemberQuery) GetMemberList ¶
func (this *MemberQuery) GetMemberList(partnerId int, ids []int) []*dto.MemberSummary
获取会员列表
func (*MemberQuery) QueryBalanceLog ¶
func (this *MemberQuery) QueryBalanceLog(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
获取返现记录
func (*MemberQuery) QueryPagerOrder ¶
func (this *MemberQuery) QueryPagerOrder(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
查询分页订单
type PartnerQuery ¶
func NewPartnerQuery ¶
func NewPartnerQuery(c gof.App) *PartnerQuery
func (*PartnerQuery) QueryPartnerIdByHost ¶
func (this *PartnerQuery) QueryPartnerIdByHost(host string) int
根据主机查询商户编号
Click to show internal directories.
Click to hide internal directories.