From 4624781d3d2a0c8cea3847e534c5aad428176bf1 Mon Sep 17 00:00:00 2001
From: luoxinwu <934743099@qq.com>
Date: 星期五, 29 十二月 2023 13:48:44 +0800
Subject: [PATCH] 党组织下拉框
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 320 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 309 insertions(+), 11 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index 70542af..f35e876 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -6,6 +6,7 @@
import com.panzhihua.common.model.dtos.PageBaseDTO;
import com.panzhihua.common.model.dtos.community.*;
import com.panzhihua.common.model.dtos.community.acid.*;
+import com.panzhihua.common.model.dtos.community.building.BuildingDto;
import com.panzhihua.common.model.dtos.community.convenient.*;
import com.panzhihua.common.model.dtos.community.dpc.AddDpcDTO;
import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO;
@@ -255,6 +256,7 @@
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
+import javax.servlet.http.HttpServletResponse;
/**
* @program: springcloud_k8s_panzhihuazhihuishequ
@@ -5046,6 +5048,8 @@
@GetMapping("/neighbor/getNeighborTopicByApp")
R getNeighborTopicByApp(@RequestParam("name") String name);
+ @GetMapping("/neighbor/getNeighborTopicByAppNew")
+ R getNeighborTopicByAppNew(@RequestParam("name") String name);
/**
* 删除话题
* @param id
@@ -9956,6 +9960,10 @@
@RequestParam(value = "size",required = false) Integer size,
@RequestParam(value = "belongTo",required = false) String belongTo,
@RequestParam(value = "unitId",required = false) Long unitId,@RequestParam(value = "loginAccount",required = false) String loginAccount);
+
+ @GetMapping("/neighbor/export")
+ public R export(@RequestParam("year") Integer year, @RequestParam("belongTo") String belongTo, @RequestParam("communityId") Long communityId, HttpServletResponse response);
+
/**
* 批量删除活动
* @param ids
@@ -11334,7 +11342,8 @@
*/
@GetMapping("/VolunteerType/volunteerTypeGetList")
public R volunteerTypeGetList(@RequestParam("pageNum") int pageNum,
- @RequestParam("pageSize") int pageSize);
+ @RequestParam("pageSize") int pageSize,
+ @RequestParam("type") String type);
/**
* 新增
@@ -11415,7 +11424,7 @@
* @param grantIntegral
* @return
*/
- @PostMapping("/grantIntegral")
+ @PostMapping("/VolunteerActivitiesPeople/grantIntegral")
public R grantIntegral(@RequestBody GrantIntegral grantIntegral);
/**************************************************************************************************************
@@ -11494,7 +11503,9 @@
public R VolunteerIntegralMerchantQueryList(@RequestParam("pageNum") int pageNum,
@RequestParam("pageSize") int pageSize,
@RequestParam(value = "name", required = false) String name,
- @RequestParam(value = "state", required = false) String state);
+ @RequestParam(value = "state", required = false) String state,
+ @RequestParam(value = "goodType", required = false) String goodType,
+ @RequestParam(value = "merchantId", required = false) String merchantId);
/**
* 新增
@@ -11508,7 +11519,7 @@
public R VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO);
- @PostMapping("/unmount")
+ @PostMapping("/VolunteerIntegralMerchant/unmount")
public R VolunteerIntegralMerchantUnmount(@RequestBody VolunteerIntegralMerchantVO vimVO);
@DeleteMapping("/VolunteerIntegralMerchant/deleteById")
@@ -11528,7 +11539,7 @@
* @param
* @return
*/
- @GetMapping("order/getList")
+ @GetMapping("/VolunteerIntegralMerchant/order/getList")
public R getList(@RequestParam("pageNum") int pageNum,
@RequestParam("pageSize") int pageSize,
@RequestParam(value = "goodsId", required = false) String goodsId,
@@ -11537,14 +11548,16 @@
@RequestParam(value = "condition", required = false) String condition,
@RequestParam(value = "userName", required = false) String userName,
@RequestParam(value = "communityId", required = false) String communityId,
- @RequestParam(value = "userId", required = false) String userId);
+ @RequestParam(value = "userId", required = false) String userId,
+ @RequestParam(value = "orderType", required = false) String orderType,
+ @RequestParam(value = "merchantId", required = false) String merchantId);
/**
* 查询详情
* @param id
* @return
*/
- @GetMapping("order/getData")
+ @GetMapping("/VolunteerIntegralMerchant/order/getData")
public R getData(@RequestParam("id") String id);
/**
@@ -11552,15 +11565,23 @@
* @param
* @return
*/
- @PostMapping("/order/insertData")
+ @PostMapping("/VolunteerIntegralMerchant/order/insertData")
public R insertData(@RequestBody VolunteerCreditsExchangeVO item);
+
+ /**
+ * 新增用户购买商家商品记录
+ * @param
+ * @return
+ */
+ @PostMapping("/VolunteerIntegralMerchant/order/insertMerchantData")
+ public R insertMerchantData(@RequestBody VolunteerCreditsExchangeVO item);
/**
* 更新
* @param item
* @return
*/
- @PostMapping("/order/update")
+ @PostMapping("/VolunteerIntegralMerchant/order/update")
public R update(@RequestBody VolunteerCreditsExchangeVO item);
/**
@@ -11568,7 +11589,7 @@
* @param id
* @return
*/
- @DeleteMapping("/order/delete")
+ @DeleteMapping("/VolunteerIntegralMerchant/order/delete")
public R delete(@RequestParam("id") String id);
/**
@@ -11576,10 +11597,287 @@
* @param id
* @return
*/
- @GetMapping("/order/conditionData")
+ @GetMapping("/VolunteerIntegralMerchant/order/conditionData")
public R conditionData(@RequestParam("id") String id);
+ /*****************************************************************************************************************
+ *
+ *
+ * 路北社区商家管理
+ *
+ *
+ *****************************************************************************************************************/
+ /**
+ * 分页查询
+ * @param
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/getList")
+ public R volunteerMerchantGetList(@RequestParam("pageNum") int pageNum,
+ @RequestParam("pageSize") int pageSize,
+ @RequestParam(value = "merchantState", required = false) String merchantState,
+ @RequestParam(value = "merchantType", required = false) String merchantType,
+ @RequestParam(value = "name", required = false) String name,
+ @RequestParam(value = "communityId", required = false) String communityId);
+
+ /**
+ * 新增
+ * @param
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/insert")
+ public R insertVolunteerMerchant(@RequestBody VolunteerMerchantVO vtvo);
+ @PostMapping("/VolunteerMerchant/update")
+ public R updateVolunteerMerchant(@RequestBody VolunteerMerchantVO vtvo);
+
+
+ @DeleteMapping("/VolunteerMerchant/delete")
+ public R deleteVolunteerMerchant(@RequestParam("id") String id);
+
+ @GetMapping("/VolunteerMerchant/getUser")
+ public R volunteerMerchantGetUser(@RequestParam("communityId") String communityId,
+ @RequestParam(value = "userName", required = false) String userName,
+ @RequestParam(value = "userPhone", required = false)String userPhone);
+
+
+ @GetMapping("/VolunteerMerchant/getById")
+ public R volunteerMerchantGetById(@RequestParam("id") String id);
+
+ /**
+ * 是否是商家
+ * @param userId
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/isMerchant")
+ public R isMerchant(@RequestParam("userId") String userId);
+
+
+ /**
+ * 社区取消订单
+ * @param id
+ * @return
+ */
+ @GetMapping("/VolunteerIntegralMerchant/order/communityCancellation")
+ public R communityCancellation(@RequestParam("id") String id);
+
+
+
+
+
+ /****************************************************************************************************************
+ *
+ * 商家评论
+ *
+ ***************************************************************************************************************/
+
+ /**
+ * 商家评论分页查询
+ * @param
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/evaluate/getList")
+ public R volunteerMerchantGetList(@RequestParam("pageNum") int pageNum,
+ @RequestParam("pageSize") int pageSize,
+ @RequestParam("communityId") String communityId,
+ @RequestParam("merchantId") String merchantId);
+
+ /**
+ * 商家评论获取详情
+ * @param id
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/evaluate/getData")
+ public R volunteerMerchantGetData(@RequestParam("id") String id);
+
+ /**
+ * 商家评论新增评价
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/evaluate/insert")
+ public R volunteerMerchantInsert(@RequestBody VolunteerMerchantEvaluateVO item);
+
+ /**
+ * 商家评论更新评价
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/evaluate/update")
+ public R volunteerMerchantUpdate(@RequestBody VolunteerMerchantEvaluateVO item);
+
+
+ /**
+ * 商家评论删除评价
+ * @param id
+ * @return
+ */
+ @DeleteMapping("/VolunteerMerchant/evaluate/delete")
+ public R volunteerMerchantDelete(@RequestParam("id") String id);
+
+
+
+ /***************************************************************************************************************
+ *
+ * 路北社区商家提现
+ *
+ ****************************************************************************************************************/
+
+ /**
+ * 商家提现列表啊
+ * @param disposeType
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/withdraw/getList")
+ public R WithdrawGetList(@RequestParam("pageNum") int pageNum,
+ @RequestParam("pageSize") int pageSize,
+ @RequestParam(value = "disposeType", required = false) String disposeType,
+ @RequestParam(value = "merchantName", required = false) String merchantName,
+ @RequestParam(value = "merchantId", required = false) String merchantId,
+ @RequestParam(value = "communityId", required = false) String communityId);
+
+ /**
+ * 新增商家提现
+ * @param item
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/withdraw/insert")
+ public R WithdrawInsert(@RequestBody VolunteerMerchantWithdrawVO item);
+
+ /**
+ * 编辑商家提现
+ * @param item
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/withdraw/update")
+ public R WithdrawUpdate(@RequestBody VolunteerMerchantWithdrawVO item);
+
+ /**
+ * 删除商家提现
+ * @param id
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/withdraw/delete")
+ public R WithdrawDelete(@RequestParam("id") String id);
+
+ /**
+ * 处理商家提现
+ * @param id
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/withdraw/dispose")
+ public R WithdrawDispose(@RequestParam("id") String id);
+
+
+
+
+ /***************************************************************************************************************
+ *
+ * 路北社区系统配置 商家折扣 兑换地点信息
+ *
+ ****************************************************************************************************************/
+
+ /**
+ * 详情
+ * @param
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/Community/Config/getData")
+ public R ConfiggetData(@RequestParam("communityId") String communityId);
+
+ /**
+ * 新增
+ * @param
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/Community/Config/insertvo")
+ public R Configinsertvo(@RequestBody VolunteerCommunityConfigVO item);
+
+
+
+ /*******************************************************************************************************************
+ *
+ *
+ * 社区折扣
+ *
+ *
+ ******************************************************************************************************************/
+
+
+ /**
+ * 分页查询
+ * @param
+ * @return
+ */
+ @GetMapping("/VolunteerMerchant/community/discount/getList")
+ public R CommunityDiscountgetList(@RequestParam("communityId") String communityId);
+
+ /**
+ * 新增
+ * @param
+ * @return
+ */
+ @PostMapping("/VolunteerMerchant/community/discount/insert")
+ public R CommunityDiscountinsert(@RequestBody VolunteerCommunityDiscountVO item);
+
+
+ @PostMapping("/VolunteerMerchant/community/discount/update")
+ public R CommunityDiscountupdate(@RequestBody VolunteerCommunityDiscountVO item);
+
+
+ @DeleteMapping("/VolunteerMerchant/community/discount/delete")
+ public R CommunityDiscountdelete(@RequestParam("id") String id);
+
+
+
+
+ /**
+ * 报名/取消报名社区活动
+ * 金汇社区专用
+ * @param signactivityVO
+ * 报名参数
+ * @return 报名 取消报名 结果
+ */
+ @PostMapping("/jinhui/jinhuiSignActivity")
+ public R jinhuiSignActivity(@RequestBody SignactivityVO signactivityVO);
+
+
+
+ /**
+ * 用户签到
+ * 金汇社区专用
+ * @param comActActRegistVO 签到参数
+ * @return 签到结果
+ */
+ @PostMapping("/jinhui/jinhuiActivitySignIn")
+ public R jinhuiActivitySignIn(@RequestBody ComActActRegistVO comActActRegistVO);
+
+
+
+
+ @GetMapping("/integral/user/getIntegralUserRank")
+ public R getIntegralUserRank(@RequestParam("communityId") Long communityId,
+ @RequestParam("userId") Long userId);
+
+
+ @GetMapping("/largeScreen/panzhihuaMap")
+ public R panzhihuaMap(@RequestParam("areaCode")String areaCode);
+
+ @GetMapping("/largeScreen/oneTagThreeReal")
+ public R oneTagThreeReal(@RequestParam("streetId") Long streetId);
+
+ @PostMapping("/largeScreen/searchStreet")
+ public R searchStreet(@RequestBody BuildingDto buildingDto);
+
+ @PostMapping("/largeScreen/huachengDyn")
+ public R huachengDyn(@RequestBody ComActDynVO comActDynVO);
+
+ @GetMapping("/largeScreen/getScreenStatics")
+ public R getScreenStatics();
+
+ @GetMapping("/largeScreen/populationStatics")
+ public R populationStatics(@RequestParam("streetId") Long streetId);
+
+ @GetMapping("/largeScreen/probably")
+ public R probably(@RequestParam("year") Integer year,@RequestParam("belongTo") String belongTo);
}
--
Gitblit v1.7.1