lideyin 5 years ago
parent
commit
37235a1209

+ 2 - 2
examcloud-core-examwork-dao/src/main/java/cn/com/qmth/examcloud/core/examwork/dao/NoticeRulePublishProgressRepo.java

@@ -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