|
@@ -15,10 +15,10 @@ public interface NoticeRulePublishProgressRepo extends JpaRepository<NoticeRuleP
|
|
|
|
|
|
List<NoticeRulePublishProgressEntity> findByNoticeIdIn(List<Long> noticeIdList);
|
|
|
|
|
|
- @Query("select t1.id,t1.creation_time,t1.update_time from ec_e_notice_rule_publish_progress t1 " +
|
|
|
+ @Query(value="select t1.* from ec_e_notice_rule_publish_progress t1 " +
|
|
|
" inner join ec_e_notice t2 on t1.notice_id=t2.id" +
|
|
|
" where t2.notice_status in ('PUBLISHING','TO_BE_PUBLISHED')" +
|
|
|
- " order by t2.notice_status,t2.creation_time")
|
|
|
+ " order by t2.notice_status,t2.creation_time",nativeQuery = true)
|
|
|
List<NoticeRulePublishProgressEntity> findUnpublishedNoticeProcessList();
|
|
|
|
|
|
@Transactional
|