From eb4cfe7327323367a08ac449ce838f95b2e96783 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 29 九月 2022 14:40:50 +0800
Subject: [PATCH] Merge branch 'sanshuohuitang_dev' into huacheng_test

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
index 9c6da14..d4bbca4 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
@@ -76,13 +76,13 @@
         expert.setId(Snowflake.getId());
         expert.setCreateTime(new Date());
         if (expert.getLevel()==2){
-            expert.setIndustryCenterId(Long.parseLong(comSanshuoExpertDTO.getUnitId()));
+            expert.setIndustryCenterId(Long.parseLong(expert.getUnitId()));
             expert.setUnit(comSanshuoIndustryCenterDao.selectById(expert.getUnitId()).getName()+"调解站");
         }else if(expert.getLevel()==3){
-            expert.setStreetId(Long.parseLong(comSanshuoExpertDTO.getUnitId()));
+            expert.setStreetId(Long.parseLong(expert.getUnitId()));
             expert.setUnit(comStreetDAO.selectById(expert.getUnitId()).getName()+"调解站");
         }else if(expert.getLevel()==4){
-            expert.setCommunityId(Long.parseLong(comSanshuoExpertDTO.getUnitId()));
+            expert.setCommunityId(Long.parseLong(expert.getUnitId()));
             expert.setUnit(comActDAO.selectById(expert.getUnitId()).getName()+"调解站");
         }
         expert.setStatus(1);

--
Gitblit v1.7.1