func delById(collection string, id string) { condition := mongo.Mongo{} condition.BizId = id del(collection, condition) }
func queryById(collection string, result interface{}, id string) { condition := mongo.Mongo{} condition.BizId = id query(collection, result, condition) }
func updateById(collection string, data interface{}, id string) { condition := mongo.Mongo{} condition.BizId = id update(collection, condition, data) }