From c36f719ebd38b9fe269547dbc036d8535b498ce9 Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期六, 12 十一月 2022 16:43:51 +0800 Subject: [PATCH] token获取物业id处理 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java index b3db293..cfb768b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java @@ -10,6 +10,7 @@ import com.panzhihua.common.model.vos.sanshuo.ComEventConciliationVO; import com.panzhihua.common.model.vos.sanshuo.ComEventVO; import com.panzhihua.common.model.vos.sanshuo.ComSanRequestVO; +import com.panzhihua.common.service.user.UserService; import com.panzhihua.common.utlis.CopyUtil; import com.panzhihua.common.utlis.StringUtils; import com.panzhihua.service_community.entity.ComEvent; @@ -45,6 +46,8 @@ @Resource private IComEventService comEventService; + @Resource + private UserService userService; /** @@ -66,6 +69,7 @@ comEvent.setRequestUserId(loginUser.getUserId()); comEvent.setRequestUserName(loginUser.getName()); comEvent.setRequestUserTel(loginUser.getPhone()); + //comEvent.setAppId(loginUser.getAppId()); return comEventService.insertComEvent(comEvent); } @@ -154,7 +158,6 @@ }) @PostMapping("/page") public R page(@RequestBody ComEventVO comEventVO, Long pageNo, Long pageSize) { - log.info("==============分页参数"+comEventVO); Page pagination = new Page(pageNo, pageSize); ComEvent comEvent = CopyUtil.copyProperties(comEventVO, ComEvent.class); return comEventService.pageByComEvent(comEvent, pagination,this.getLoginUserInfo()); @@ -253,8 +256,7 @@ comEvent.setEventProcessStatus(SanShuoEventStatusEnum.VALID.getCode()); comEvent.setSpecialistName("待分配"); comEvent.setSpecialistId(null); - comEvent.setSpecialistName("待分配"); - comEvent.setSpecialistId(0L); + comEventService.updateEventStransferRecord(id); return R.ok(comEventService.updateById(comEvent)); } @@ -338,4 +340,22 @@ public R eventIndexData(@RequestParam Integer type) { return comEventService.eventIndexData(type); } + + + /** + *可选街道列表 + * */ + @GetMapping("/streetList") + public R getStreetId(){ + return comEventService.listStreetScreen(); + } + + /** + *可选社区列表 + * */ + @GetMapping("/communityList") + public R getCommunityList(){ + return comEventService.listCommunityScreen(); + } + } -- Gitblit v1.7.1