package Ġcom . qd . portal . edi . statistics Ċ Ċ import Ġcom . qd . portal . edi . database . model . E di Connection Ċ import Ġcom . qd . portal . edi . database . model . E di Status Ċ import Ġcom . qd . portal . organization . database . model . Organization Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ /** Ċ Ġ* Ġ@ author Ġ: Ġj _ ada Ċ Ġ* Ġ@ since Ġ: Ġ 0 1 . 0 1 . 2 0 2 0 , ĠMi . Ċ Ġ**/ Ċ Ċ @ Repository Ċ interface ĠE di Statistics Repository Ġ: ĠJ pa Repository < E di Connection , ĠLong > Ġ{ ĊĠĠĠ Ġfun Ġcount Distinct By Status ( status : ĠE di Status ): ĠInt ĊĠĠĠ Ġfun Ġcount Distinct By Customer ( customer : ĠOrganization ): ĠInt ĊĊĠĠĠ Ġfun Ġcount By Status And Customer Or Supplier ( status : ĠE di Status , Ġcustomer : ĠOrganization , Ġsupplier : ĠOrganization ) Ġ: ĠInt Ċ }