From b6a0dd95817ed050510b5c39cc0f5caf0a00cb17 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期日, 01 八月 2021 16:14:21 +0800
Subject: [PATCH] 打印日志

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
index d47096b..717da50 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
@@ -363,6 +363,7 @@
     @Override
     @Transactional(rollbackFor = Exception.class)
     public R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId) throws Exception {
+        log.info("开始处理导入数据");
         List<ComMngPopulationMistakeExcelVO> mistakes = new ArrayList<>();
 //        List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>();
         //查询社区信息
@@ -480,7 +481,10 @@
         }
         this.saveBatch(populationDOList);*/
 
+        log.info("处理完成导入数据");
+
         if (!mistakes.isEmpty()) {
+            log.info("返回错误数据");
             return R.fail(mistakes);
         }
         return R.ok();

--
Gitblit v1.7.1