예제 #1
0
파일: yearly.go 프로젝트: vassilux/revor
func (c Yearly) PeerGetOutDispositionByYearAndPeer(year int, peer string, tmp int) revel.Result {
	revel.TRACE.Printf("[Yearly Peer] Get outcalls disposition by year [%d] and peer [%s].\r\n", year, peer)
	results := mongo.GetPeerDispositionByYear(year, "out", peer, c.MongoDatabase)
	return c.RenderJson(results)
}
예제 #2
0
파일: yearly.go 프로젝트: vassilux/revor
func (c Yearly) PeerGetInDispositionByYear(year int, tmp int) revel.Result {
	revel.TRACE.Printf("[Yearly Peer] Get incalls disposition by year [%d].\r\n", year)
	results := mongo.GetPeerDispositionByYear(year, "in", "", c.MongoDatabase)
	return c.RenderJson(results)
}