implement BI merchant repository revenue(date) function