repository

package
v1.0.1-0...-5f6f923 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeAccount

func ChangeAccount(tx *xorm.Session, query, maps map[string]interface{}) (int64, error)

func CheckAccountExist

func CheckAccountExist(owner string, accountType, coinType int) (bool, error)

func CreateAccount

func CreateAccount(tx *xorm.Session, model *mysql.Account) (err error)

func CreatePayRecord

func CreatePayRecord(tx *xorm.Session, model *mysql.PayRecord) (err error)

func CreateTransaction

func CreateTransaction(tx *xorm.Session, model *mysql.Transaction) (err error)

func FindAccount

func FindAccount(sqlSelect string, ownerList []string, accountType, coinType int) ([]mysql.Account, error)

func FindPayRecordList

func FindPayRecordList(selectSql string, where interface{}) ([]mysql.PayRecord, error)

func GetAccountByTx

func GetAccountByTx(tx *xorm.Session, sqlSelect string, owner string, accountType, coinType int) (*mysql.Account, error)

func GetPayRecordList

func GetPayRecordList(selectSql string, where interface{}, orderByAsc, orderByDesc []string, pageSize, pageNum int) ([]mysql.PayRecord, int64, error)

func UpdatePayRecord

func UpdatePayRecord(tx *xorm.Session, where map[string]interface{}, maps map[string]interface{}) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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