package Ġcom . ze ong it . data . database . primary . dao Ċ Ċ import Ġcom . ze ong it . data . database . primary . entity . Follow Message Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġorg . springframework . data . jpa . repository . Jpa Specification Executor Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository Ċ interface ĠFollow Message Dao Ġ: ĠJ pa Repository < Follow Message , ĠInt >, ĠJ pa Specification Executor < Follow Message > Ġ{ ĊĠĠĠ Ġfun ĠfindAll By Following Id OrderBy Create Date Desc ( following Id : ĠInt ): ĠList < Follow Message > ĊĊĠĠĠ Ġfun Ġcount By Following Id And Review ( following Id : ĠInt , Ġreview : ĠBoolean ): ĠLong ĊĊĠĠĠ Ġfun ĠfindAll By Following Id And Review OrderBy Create Date Desc ( following Id : ĠInt , Ġreview : ĠBoolean ): ĠList < Follow Message > Ċ }