dao

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteMessageById

func DeleteMessageById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteMessageByOrg

func DeleteMessageByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func InsertMessage

func InsertMessage(po po.PpmTakMessage, tx ...sqlbuilder.Tx) error

func InsertMessageBatch

func InsertMessageBatch(pos []po.PpmTakMessage, tx ...sqlbuilder.Tx) error

func SelectMessage

func SelectMessage(cond db.Cond) (*[]po.PpmTakMessage, error)

func SelectMessageById

func SelectMessageById(id int64) (*po.PpmTakMessage, error)

func SelectMessageByIdAndOrg

func SelectMessageByIdAndOrg(id int64, orgId int64) (*po.PpmTakMessage, error)

func SelectMessageByPage

func SelectMessageByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmTakMessage, uint64, error)

func SelectOneMessage

func SelectOneMessage(cond db.Cond) (*po.PpmTakMessage, error)

func UpdateMessage

func UpdateMessage(po po.PpmTakMessage, tx ...sqlbuilder.Tx) error

func UpdateMessageByCond

func UpdateMessageByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateMessageById

func UpdateMessageById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateMessageByOrg

func UpdateMessageByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (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