package Ġcom . mt jin . cn un ot ice app . data . business . source . local Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . mt jin . cn un ot ice app . data . business . Business Notice Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Single Ċ Ċ @ Dao Ċ interface ĠBusiness Notice Dao Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert Notice ( notice : ĠList < Business Notice >): ĠComp letable ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġbusiness Ġ ĠORDER ĠBY Ġ 1 ĠDESC ") ĊĠĠĠ Ġfun Ġget Not ices (): ĠSingle < List < Business Notice >> Ċ }