Updated code
This commit is contained in:
@@ -25,7 +25,7 @@ public interface EmailLogRepository extends JpaRepository<EmailLogEntity,Long> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@Query(value = """
|
@Query(value = """
|
||||||
SELECT DISTINCT ON (user_action_id) * FROM email_log WHERE send_status = 'PENDING' AND is_deleted = false AND email_service_type = 'PEC_SERVICE' """, nativeQuery = true)
|
SELECT DISTINCT ON (user_action_id) * FROM gepafin_schema.email_log WHERE send_status = 'PENDING' AND is_deleted = false """, nativeQuery = true)
|
||||||
List<EmailLogEntity> findPendingPECEmailLogs();
|
List<EmailLogEntity> findPendingPECEmailLogs();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user