From f3cc9ab47aec201b9177d42dec8acc98af2d05da Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Fri, 9 Oct 2020 09:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0try=20catch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../toscreen/impl/ScreenExtractServiceImpl.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java index 1de0bd95ff..2edbaac99b 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java +++ b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/toscreen/impl/ScreenExtractServiceImpl.java @@ -146,7 +146,7 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { }catch (Exception e){ log.error("先锋模范【extractExceptCommunityPioneerData】抽取到大屏失败,customerId为:"+customerId+"dateId为:"+dateId, e); } - //公众参与排行(注册人数、参与人数、话题数、议题数、项目数)screen_public_parti_total_data + //公众参与排行(注册人数、参与人数、话题数、议题数、项目数)screen_public_party_total_data try { publicPartiTotalDataExtractService.extractPublicPartiTotalData(customerId,dateId); }catch (Exception e){ @@ -156,9 +156,17 @@ public class ScreenExtractServiceImpl implements ScreenExtractService { ScreenCentralZoneDataFormDTO param = new ScreenCentralZoneDataFormDTO(); param.setCustomerId(customerId);param.setDateId(dateId); //中央区 screen_user_total_data - screenCentralZoneDataAbsorptionService.centralZoneDataHub(param); + try { + screenCentralZoneDataAbsorptionService.centralZoneDataHub(param); + }catch (Exception e){ + log.error("中央区抽取到大屏失败,customerId为:"+customerId+"dateId为:"+dateId, e); + } //基层治理- 难点赌点 screen_difficulty_data | screen_difficulty_img_data - screenGrassrootsGovernDataAbsorptionService.difficultyDataHub(param); + try { + screenGrassrootsGovernDataAbsorptionService.difficultyDataHub(param); + }catch (Exception e){ + log.error("基层治理-难点赌点抽取到大屏失败,customerId为:"+customerId+"dateId为:"+dateId, e); + } } /**