public interface AdminLetterReceiverRepository extends org.youngmonkeys.ezyplatform.repo.LetterReceiverRepository, com.tvd12.ezydata.database.EzyDatabaseRepository<Long,org.youngmonkeys.ezyplatform.entity.LetterReceiver>
| Modifier and Type | Method and Description |
|---|---|
long |
countUnreadLettersByToAdminId(long toAdminId) |
org.youngmonkeys.ezyplatform.entity.LetterReceiver |
findByLetterIdAndToAdminId(long letterId,
long toAdminId) |
containsById, findById, findByIdOptionalcontainsByField, findByField, findByFieldOptionalfindListByField, findListByFieldorg.youngmonkeys.ezyplatform.entity.LetterReceiver findByLetterIdAndToAdminId(long letterId,
long toAdminId)
@EzyQuery(value="SELECT count(*) FROM LetterReceiver e WHERE e.toAdminId = ?0 AND e.readAt is NULL") long countUnreadLettersByToAdminId(long toAdminId)
Copyright © 2024 Young Monkeys. All rights reserved.