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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCommentById

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

func DeleteCommentByOrg

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

func DeleteTrendsById

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

func DeleteTrendsByOrg

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

func InsertComment

func InsertComment(po po.PpmTreComment, tx ...sqlbuilder.Tx) error

func InsertCommentBatch

func InsertCommentBatch(pos []po.PpmTreComment, tx ...sqlbuilder.Tx) error

func InsertTrends

func InsertTrends(po po.PpmTreTrends, tx ...sqlbuilder.Tx) error

func InsertTrendsBatch

func InsertTrendsBatch(pos []po.PpmTreTrends, tx ...sqlbuilder.Tx) error

func SelectComment

func SelectComment(cond db.Cond) (*[]po.PpmTreComment, error)

func SelectCommentById

func SelectCommentById(id int64) (*po.PpmTreComment, error)

func SelectCommentByIdAndOrg

func SelectCommentByIdAndOrg(id int64, orgId int64) (*po.PpmTreComment, error)

func SelectCommentByPage

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

func SelectOneComment

func SelectOneComment(cond db.Cond) (*po.PpmTreComment, error)

func SelectOneTrends

func SelectOneTrends(cond db.Cond) (*po.PpmTreTrends, error)

func SelectTrends

func SelectTrends(cond db.Cond) (*[]po.PpmTreTrends, error)

func SelectTrendsById

func SelectTrendsById(id int64) (*po.PpmTreTrends, error)

func SelectTrendsByIdAndOrg

func SelectTrendsByIdAndOrg(id int64, orgId int64) (*po.PpmTreTrends, error)

func SelectTrendsByPage

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

func UpdateComment

func UpdateComment(po po.PpmTreComment, tx ...sqlbuilder.Tx) error

func UpdateCommentByCond

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

func UpdateCommentById

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

func UpdateCommentByOrg

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

func UpdateTrends

func UpdateTrends(po po.PpmTreTrends, tx ...sqlbuilder.Tx) error

func UpdateTrendsByCond

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

func UpdateTrendsById

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

func UpdateTrendsByOrg

func UpdateTrendsByOrg(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