query

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: GPL-2.0 Imports: 12 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentQuery

type ContentQuery struct {
	db.Connector
}

func NewContentQuery

func NewContentQuery(c db.Connector) *ContentQuery

type GoodsQuery

type GoodsQuery struct {
	db.Connector
}

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

type MemberQuery struct {
	db.Connector
}

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

type PartnerQuery struct {
	db.Connector
	gof.Storage
}

func NewPartnerQuery

func NewPartnerQuery(c gof.App) *PartnerQuery

func (*PartnerQuery) QueryPartnerIdByHost

func (this *PartnerQuery) QueryPartnerIdByHost(host string) int

根据主机查询商户编号

func (*PartnerQuery) Verify

func (this *PartnerQuery) Verify(usr, pwd string) int

验证用户密码并返回编号

Jump to

Keyboard shortcuts

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