query

package
v0.0.0-...-33ecd2b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

*

  • 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 :

*

  • 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 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) 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