瀏覽代碼

修改定时时间为1分钟

koul 4 年之前
父節點
當前提交
67c802cfc4

+ 1 - 1
src/main/java/com/uas/service/Impl/DownloadServiceImpl.java

@@ -87,7 +87,7 @@ public class DownloadServiceImpl implements DownloadService {
 								sqls = parseXmlFileToSqls(file, statement);
 								String s = file.getName().substring(0, file.getName().indexOf(".")) + ".xml";
 								if (sqls == null) {
-									sftp.rename(ftpMap.get("downloadpath").toString() + "/" + s, "goodsreceipt/backup/" + s);
+									sftp.rename(ftpMap.get("downloadpath").toString() + "/" + s, "bosidahkhub/erro_reply/" + s);
 									continue;
 								}
 

+ 1 - 1
src/main/java/com/uas/task/ScheduleTask.java

@@ -31,7 +31,7 @@ public class ScheduleTask {
     /**
      * XML文件处理
      */
-    @Scheduled(fixedRate=1000*60*5)
+    @Scheduled(fixedRate=1000*60)
     public void ediSendAndReceive() {
         BaseUtil.getLogger().info("XML文件处理开始");
         long timeMillis = System.currentTimeMillis();