From 2dff7f26adc08af4fcf0b77ff0ddda99d75c77c4 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 18 十一月 2022 15:21:25 +0800
Subject: [PATCH] #feat 修改库存

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 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 e34cf9c..e0ba75a 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
@@ -66,6 +66,7 @@
         comEvent.setRequestUserId(loginUser.getUserId());
         comEvent.setRequestUserName(loginUser.getName());
         comEvent.setRequestUserTel(loginUser.getPhone());
+        comEvent.setAppId(loginUser.getAppId());
         return comEventService.insertComEvent(comEvent);
     }
 
@@ -316,8 +317,7 @@
     @ApiOperation("事件各种状态(处理状态1待处理2待验证3专家已受理4专家未受理,拒绝5调解中6已结案归档7调解取消8 已删除)数据统计")
     @GetMapping("/status/calculate")
     public R calculate() {
-        comEventService.calculate(getLoginUserInfo());
-        return R.ok();
+        return comEventService.calculate(getLoginUserInfo());
     }
 
     /**
@@ -337,4 +337,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