|
@@ -26,7 +26,7 @@ public class RecycleDownload {
|
|
|
* 记录表中的任务号每条记录单独一个任务号;本次拉取数据批次号相同
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 1 * 5 * 1000)
|
|
|
+ @Scheduled(fixedDelayString = "${recycledown}")
|
|
|
public void download() throws Exception {
|
|
|
if (1 == 1) {
|
|
|
return;
|
|
@@ -48,7 +48,7 @@ public class RecycleDownload {
|
|
|
* 失败时 记录表、过程反馈、明细表,状态记录 SynStatus=99
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 10 * 1000)
|
|
|
+ @Scheduled(fixedDelayString = "${recyclefkdown}")
|
|
|
private void updateFkmx() throws Exception {
|
|
|
recycleAssignLogic.updateFeedback();
|
|
|
}
|
|
@@ -59,7 +59,7 @@ public class RecycleDownload {
|
|
|
* 失败 三个表与记录表状态 SynStatus=99
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 10 * 1000)
|
|
|
+ @Scheduled(fixedDelayString = "${recyclecjdown}")
|
|
|
private void updateAcquisition() {
|
|
|
recycleAcquisitionLogic.updateAcquisition();
|
|
|
}
|
|
@@ -75,7 +75,7 @@ public class RecycleDownload {
|
|
|
* 回收明细表 改状态 gree_stat_syn_status = 99
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 10 * 1000)
|
|
|
+ @Scheduled(fixedDelayString = "${recycleverifydown}")
|
|
|
private void updateExtend() throws Exception {
|
|
|
recycleAssignLogic.updateExtend();
|
|
|
}
|
|
@@ -84,7 +84,7 @@ public class RecycleDownload {
|
|
|
* 5:同步到业务表
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 10 * 1000)
|
|
|
+ @Scheduled(fixedDelayString = "${recyclein}")
|
|
|
private void updateRecycleAssignDownloadEntity2Business() {
|
|
|
if (1 == 1) {
|
|
|
return;
|