From cfef9d475dba8a006ea6eec554a6c4e0d41e4bb3 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 27 十月 2023 16:01:57 +0800
Subject: [PATCH] 金汇慈善公益模块

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/JinHuiCommnuityApi.java |  100 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 99 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/JinHuiCommnuityApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/JinHuiCommnuityApi.java
index b51e4c7..f5178bf 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/JinHuiCommnuityApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/JinHuiCommnuityApi.java
@@ -687,7 +687,7 @@
     @GetMapping("/experienceGetDetails")
     public R experienceGetDetails(@RequestParam("id") String id)
     {
-        return jinhuiCommunityService.experienceGetDetails(id);
+        return jinhuiCommunityService.experienceGetDetails(id,getUserId()+"");
     }
 
 
@@ -784,4 +784,102 @@
         return jinhuiCommunityService.articleGetDetails(id);
     }
 
+
+    /************************************************************************************************************
+     *
+     *
+     *                         用户提交办理 /JinhuiWorkGuide/
+     *
+     *
+     *******************************************************************************************************/
+    /**
+     * 分页查询
+     * @param
+     * @return
+     */
+    @ApiOperation(value = "我的提交办事指南列表",response = JinhuiQuestnaireUserAnswerVO.class)
+    @GetMapping("/answer/getList")
+    public R answerGetList(@RequestParam("pageNum") int pageNum,
+                           @RequestParam("pageSize") int pageSize,
+                           @RequestParam(value = "transactType", required = false) String transactType)
+    {
+        return jinhuiCommunityService.answerGetList(pageNum,pageSize,getUserId()+"",transactType);
+    }
+
+    /**
+     * 获取详情
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "我的提交办事指南详情",response = JinhuiQuestnaireUserAnswerVO.class)
+    @GetMapping("/answer/getDetails")
+    public R answerGetDetails(@RequestParam("id") String id)
+    {
+        return jinhuiCommunityService.answerGetDetails(id);
+    }
+
+    /**
+     * 新增
+     * @param
+     * @return
+     */
+    @ApiOperation(value = "我的提交办事指南申请办理")
+    @PostMapping("/answer/addData")
+    public R answerAddData(@RequestBody JinhuiQuestnaireUserAnswerVO item)
+    {
+        item.setUserId(getUserId()+"");
+        item.setTransactType("0");
+        return jinhuiCommunityService.answerAddData(item);
+    }
+
+    /**
+     * 编辑
+     * @param item
+     * @return
+     */
+    @ApiOperation(value = "我的提交办事指南申请编辑")
+    @PostMapping("/answer/editData")
+    public R answerEditData(@RequestBody JinhuiQuestnaireUserAnswerVO item)
+    {
+        return jinhuiCommunityService.answerEditData(item);
+    }
+
+    /**
+     * 删除
+     * @param id
+     * @return
+     */
+    @ApiOperation(value = "我的提交办事指南申请删除")
+    @DeleteMapping("/answer/expurgateData")
+    public R answerExpurgateData(@RequestParam("id") String id)
+    {
+        return jinhuiCommunityService.answerExpurgateData(id);
+    }
+
+
+    /****************************************************************************************************************
+     *
+     *
+     *                                  金汇慈善公益
+     *
+     *
+     ******************************************************************************************************************/
+    /**
+     * 分页查询
+     *
+     * @param
+     * @return
+     */
+
+    @ApiOperation(value = "金汇慈善公益列表",response = JinhuiCharityVO.class)
+    @GetMapping("/getCharityList")
+    public R getCharityList(@RequestParam("pageNum") int pageNum,
+                            @RequestParam("pageSize") int pageSize,
+                            @RequestParam(value = "title", required = false) String title,
+                            @RequestParam(value = "label", required = false) String label,
+                            @RequestParam(value = "state", required = false) String state)
+    {
+        return jinhuiCommunityService.getCharityList(pageNum,pageSize,title,label,state);
+    }
+
 }

--
Gitblit v1.7.1