From 8dd1b0fb109fc828996f298f0f21095cdd75b0c8 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 19 十月 2021 14:05:28 +0800
Subject: [PATCH] bug修复

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwRotaServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwRotaServiceImpl.java
index e7aaaf5..24802cb 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwRotaServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwRotaServiceImpl.java
@@ -308,7 +308,7 @@
             String[] personPhones = comSwRotaExcelVO.getPersonPhone().split("、");
             String[] personNames = comSwRotaExcelVO.getPersonName().split("、");
             List<String> personIds = new ArrayList<>();
-            for (int i = 0; i < leaderPhones.length; i++) {
+            for (int i = 0; i < personPhones.length; i++) {
                 String id = comSwRotaDAO.getTeamIdsByTeamPhone(personPhones[i]);
                 if (StringUtils.isEmpty(id)) {
                     return R.fail(personNames[i] + "为非社区团队人员或该人员电话未维护!");

--
Gitblit v1.7.1