Documentation ¶
Index ¶
- func DeleteMessageById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteMessageByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func InsertMessage(po po.PpmTakMessage, tx ...sqlbuilder.Tx) error
- func InsertMessageBatch(pos []po.PpmTakMessage, tx ...sqlbuilder.Tx) error
- func SelectMessage(cond db.Cond) (*[]po.PpmTakMessage, error)
- func SelectMessageById(id int64) (*po.PpmTakMessage, error)
- func SelectMessageByIdAndOrg(id int64, orgId int64) (*po.PpmTakMessage, error)
- func SelectMessageByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmTakMessage, uint64, error)
- func SelectOneMessage(cond db.Cond) (*po.PpmTakMessage, error)
- func UpdateMessage(po po.PpmTakMessage, tx ...sqlbuilder.Tx) error
- func UpdateMessageByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateMessageById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateMessageByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteMessageById ¶
func DeleteMessageByOrg ¶
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 SelectOneMessage ¶
func SelectOneMessage(cond db.Cond) (*po.PpmTakMessage, error)
func UpdateMessage ¶
func UpdateMessage(po po.PpmTakMessage, tx ...sqlbuilder.Tx) error
func UpdateMessageByCond ¶
func UpdateMessageById ¶
func UpdateMessageByOrg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.