From fd3e2e7856f7bec957d36abb36c4f3e1d6dc6bb2 Mon Sep 17 00:00:00 2001 From: chen <2710907404@qq.com> Date: Wed, 7 May 2025 16:40:39 +0800 Subject: [PATCH] =?UTF-8?q?20250507=20=E6=9B=B4=E6=96=B0=201.=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=AE=9A=E6=97=B6=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/PushDataToLabsCareServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/digital/laboratory/platform/identifybook/service/impl/PushDataToLabsCareServiceImpl.java b/src/main/java/digital/laboratory/platform/identifybook/service/impl/PushDataToLabsCareServiceImpl.java index 5679084..da49403 100644 --- a/src/main/java/digital/laboratory/platform/identifybook/service/impl/PushDataToLabsCareServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/identifybook/service/impl/PushDataToLabsCareServiceImpl.java @@ -84,7 +84,7 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService * 做一个定时推送,对于推送失败的委托进行重新推送, 每天凌晨3点推送 */ // @Scheduled(cron = "30 * * * * ?") // 测试 - @Scheduled(cron = "0 0 3 * * ?") // 每天凌晨 3 点执行 +// @Scheduled(cron = "0 0 3 * * ?") // 每天凌晨 3 点执行 public void timingPushDataToLabsCare() { log.info("定时推送数据到LabsCare......"); // 查询检验鉴定推送失败的委托 @@ -105,13 +105,13 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService for (Entrustment entrustment : entrustList) { String pushFlag = entrustment.getPushFlag(); if (StrUtil.isBlank(pushFlag)) { - pushAppraisalReportApprovalFormData(entrustment.getId()); +// pushAppraisalReportApprovalFormData(entrustment.getId()); pushQualitativeReportData(entrustment.getId()); } else { List flagList = StrUtil.split(pushFlag, StrUtil.COMMA).stream().filter(str -> str.contains("false")).collect(Collectors.toList()); for (String flag : flagList) { if (flag.contains(APPRAISAL_REPORT_APPROVAL_FORM)) { - pushAppraisalReportApprovalFormData(entrustment.getId()); +// pushAppraisalReportApprovalFormData(entrustment.getId()); } else { pushQualitativeReportData(entrustment.getId()); }