瀏覽代碼

因确认事件过多,下载视频改为3分钟

lyq 1 年之前
父節點
當前提交
09aa85aa0d

+ 1 - 1
src/main/java/com/sooka/sponest/event/centereventteventcatalogue/service/impl/CentereventTEventcatalogueServiceImpl.java

@@ -714,7 +714,7 @@ public class CentereventTEventcatalogueServiceImpl extends BaseService implement
                 centereventTDownloadsService.insertCentereventTDownloads(centereventTDownloads);
 //                TimeUnit.MINUTES.sleep(5);//延时5分钟在调取
                 logger.info("定时任务等待下载=====>{}", DateUtils.dateTimeNow());
-                Thread.sleep(300000);
+                Thread.sleep(180000);
             } else {
                 //失败
                 CentereventTDownloads centereventTDownloads = new CentereventTDownloads();

+ 1 - 0
src/main/resources/mapper/download/CentereventTDownloadsMapper.xml

@@ -38,6 +38,7 @@
             <if test="updateName != null  and updateName != ''">and update_name like concat('%', #{updateName}, '%')
             </if>
         </where>
+        order by create_time desc
     </select>
 
     <select id="selectCentereventTDownloadsById" parameterType="String" resultMap="CentereventTDownloadsResult">