From 5b571c0e9be4363f7461f234fb4a643b2d50277d Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期二, 15 十一月 2022 13:41:10 +0800 Subject: [PATCH] 三说会堂事件后台更新 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 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 eae2041..2906dcb 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 @@ -450,5 +450,33 @@ return null; } + @Override + public R rangeList() { + List<ExpertRangeVO> list=new ArrayList<>(); + for (int i = 1; i < 5; i++) { + ExpertRangeVO vo=new ExpertRangeVO(); + vo.setLevel(i); + if (i==2){ + //设置行业分中心为childList + vo.setId(2L); + vo.setChildList(comSanshuoIndustryCenterDao.indstryList()); + vo.setName("行业分中心"); + }else if (i==3){ + vo.setId(3L); + vo.setChildList(comSanshuoIndustryCenterDao.streetList()); + vo.setName("街道调解站"); + }else if (i==4){ + vo.setId(4L); + vo.setChildList(comSanshuoIndustryCenterDao.communityList()); + vo.setName("社区调解站"); + }else if(i==1){ + vo.setId(1L); + vo.setName("三说会堂"); + } + list.add(vo); + } + return R.ok(list); + } + } -- Gitblit v1.7.1