Documentation ¶
Index ¶
- func DeleteCommentById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteCommentByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteTrendsById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteTrendsByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func InsertComment(po po.PpmTreComment, tx ...sqlbuilder.Tx) error
- func InsertCommentBatch(pos []po.PpmTreComment, tx ...sqlbuilder.Tx) error
- func InsertTrends(po po.PpmTreTrends, tx ...sqlbuilder.Tx) error
- func InsertTrendsBatch(pos []po.PpmTreTrends, tx ...sqlbuilder.Tx) error
- func SelectComment(cond db.Cond) (*[]po.PpmTreComment, error)
- func SelectCommentById(id int64) (*po.PpmTreComment, error)
- func SelectCommentByIdAndOrg(id int64, orgId int64) (*po.PpmTreComment, error)
- func SelectCommentByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmTreComment, uint64, error)
- func SelectOneComment(cond db.Cond) (*po.PpmTreComment, error)
- func SelectOneTrends(cond db.Cond) (*po.PpmTreTrends, error)
- func SelectTrends(cond db.Cond) (*[]po.PpmTreTrends, error)
- func SelectTrendsById(id int64) (*po.PpmTreTrends, error)
- func SelectTrendsByIdAndOrg(id int64, orgId int64) (*po.PpmTreTrends, error)
- func SelectTrendsByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmTreTrends, uint64, error)
- func UpdateComment(po po.PpmTreComment, tx ...sqlbuilder.Tx) error
- func UpdateCommentByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateCommentById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateCommentByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateTrends(po po.PpmTreTrends, tx ...sqlbuilder.Tx) error
- func UpdateTrendsByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateTrendsById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateTrendsByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCommentById ¶
func DeleteCommentByOrg ¶
func DeleteTrendsById ¶
func DeleteTrendsByOrg ¶
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 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 UpdateComment ¶
func UpdateComment(po po.PpmTreComment, tx ...sqlbuilder.Tx) error
func UpdateCommentByCond ¶
func UpdateCommentById ¶
func UpdateCommentByOrg ¶
func UpdateTrends ¶
func UpdateTrends(po po.PpmTreTrends, tx ...sqlbuilder.Tx) error
func UpdateTrendsByCond ¶
func UpdateTrendsById ¶
func UpdateTrendsByOrg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.