@ Query ("SELECT sr FROM SignedReceipt sr, где sr.cashBox_id =: rk и sr.since между: from и date_add (: from, интервал 1 DAY) по sr.since с ограничением 1")
def findFirstSingnedReceiptByFrom (@Param ("rk") rk: CashRegister, @ Param ("from") from: DateTime)