Documentation ¶
Index ¶
- func ChangeAccount(tx *xorm.Session, query, maps map[string]interface{}) (int64, error)
- func CheckAccountExist(owner string, accountType, coinType int) (bool, error)
- func CreateAccount(tx *xorm.Session, model *mysql.Account) (err error)
- func CreatePayRecord(tx *xorm.Session, model *mysql.PayRecord) (err error)
- func CreateTransaction(tx *xorm.Session, model *mysql.Transaction) (err error)
- func FindAccount(sqlSelect string, ownerList []string, accountType, coinType int) ([]mysql.Account, error)
- func FindPayRecordList(selectSql string, where interface{}) ([]mysql.PayRecord, error)
- func GetAccountByTx(tx *xorm.Session, sqlSelect string, owner string, accountType, coinType int) (*mysql.Account, error)
- func GetPayRecordList(selectSql string, where interface{}, orderByAsc, orderByDesc []string, ...) ([]mysql.PayRecord, int64, error)
- func UpdatePayRecord(tx *xorm.Session, where map[string]interface{}, maps map[string]interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeAccount ¶
func CheckAccountExist ¶
func CreateTransaction ¶
func CreateTransaction(tx *xorm.Session, model *mysql.Transaction) (err error)
func FindAccount ¶
func FindPayRecordList ¶
func GetAccountByTx ¶
func GetPayRecordList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.