| | |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientServiceCategoryVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinghuiMerchantEvaluateVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiCoinGeneralTableVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiGoldCoinRecordVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiInterspaceVO; |
| | | import com.panzhihua.common.model.vos.jinhui.*; |
| | | import com.panzhihua.common.model.vos.user.SysUserNoticeVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.service.jinhui.JinhuiCommunityService; |
| | |
| | | @ApiOperation(value = "办事指南_详情", response = ComActWorkGuideVO.class) |
| | | @GetMapping("/detailworkguide") |
| | | public R detailWorkGuide(@RequestParam("workGuideId") String workGuideId) { |
| | | return jinhuiCommunityService.detailWorkGuide(workGuideId, getCommunityId()+""); |
| | | return jinhuiCommunityService.detailWorkGuide(workGuideId, getCommunityId() + ""); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiOperation(value = "分页查询便民服务商家", response = ConvenientMerchantVO.class) |
| | | @PostMapping("/merchant/page") |
| | | public R pageMerchant(@RequestBody PageConvenientMerchantDTO pageConvenientMerchantDTO) |
| | | { |
| | | public R pageMerchant(@RequestBody PageConvenientMerchantDTO pageConvenientMerchantDTO) { |
| | | return jinhuiCommunityService.pageMerchant(pageConvenientMerchantDTO); |
| | | } |
| | | |
| | |
| | | */ |
| | | @ApiOperation(value = "获取便民服务商家详情", response = ConvenientMerchantVO.class) |
| | | @GetMapping("/merchant/get") |
| | | public R getMerchant(@RequestParam("merchantId") String merchantId) |
| | | { |
| | | public R getMerchant(@RequestParam("merchantId") String merchantId) { |
| | | return jinhuiCommunityService.getMerchant(merchantId); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 分页查询 商家类别 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "获取便民服务商家类别列表", response = ConvenientServiceCategoryVO.class) |
| | | @GetMapping("/getCategories") |
| | | public R getListCategories(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize) |
| | | { |
| | | return jinhuiCommunityService.getListCategories(pageNum,pageSize); |
| | | @RequestParam("pageSize") int pageSize) { |
| | | return jinhuiCommunityService.getListCategories(pageNum, pageSize); |
| | | } |
| | | |
| | | |
| | |
| | | **************************************************************************************************/ |
| | | /** |
| | | * 商家评论列表 |
| | | * |
| | | * @param pageNum |
| | | * @param pageSize |
| | | * @param merchantId |
| | |
| | | */ |
| | | @ApiOperation(value = "商家评论列表", response = JinghuiMerchantEvaluateVO.class) |
| | | @GetMapping("/merchantEvaluate/getList") |
| | | public R merchantEvaluateGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam("merchantId") String merchantId) |
| | | { |
| | | return jinhuiCommunityService.merchantEvaluateGetList(pageNum,pageSize,merchantId); |
| | | public R merchantEvaluateGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam("merchantId") String merchantId) { |
| | | return jinhuiCommunityService.merchantEvaluateGetList(pageNum, pageSize, merchantId); |
| | | } |
| | | |
| | | /** |
| | | * 商家评论列单个详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "商家评论列单个详情", response = JinghuiMerchantEvaluateVO.class) |
| | | @GetMapping("/merchantEvaluate/getDetails") |
| | | public R merchantEvaluateGetDetails(@RequestParam("id") String id) |
| | | { |
| | | public R merchantEvaluateGetDetails(@RequestParam("id") String id) { |
| | | return jinhuiCommunityService.merchantEvaluateGetDetails(id); |
| | | } |
| | | |
| | | /** |
| | | * 商家评论列添加 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "商家评论列添加") |
| | | @PostMapping("/merchantEvaluate/addData") |
| | | public R merchantEvaluateAddData(@RequestBody JinghuiMerchantEvaluateVO item) |
| | | { |
| | | public R merchantEvaluateAddData(@RequestBody JinghuiMerchantEvaluateVO item) { |
| | | return jinhuiCommunityService.merchantEvaluateAddData(item); |
| | | } |
| | | |
| | | /** |
| | | * 商家评论列编辑 |
| | | * |
| | | * @param item |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "商家评论列编辑") |
| | | @PostMapping("/merchantEvaluate/editData") |
| | | public R merchantEvaluateEditData(@RequestBody JinghuiMerchantEvaluateVO item) |
| | | { |
| | | public R merchantEvaluateEditData(@RequestBody JinghuiMerchantEvaluateVO item) { |
| | | return jinhuiCommunityService.merchantEvaluateEditData(item); |
| | | } |
| | | |
| | | /** |
| | | * 商家评论列删除 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "商家评论列删除") |
| | | @PostMapping("/merchantEvaluate/expurgateData") |
| | | public R merchantEvaluateExpurgateData(@RequestParam("id") String id) |
| | | { |
| | | public R merchantEvaluateExpurgateData(@RequestParam("id") String id) { |
| | | return jinhuiCommunityService.merchantEvaluateExpurgateData(id); |
| | | } |
| | | |
| | |
| | | **********************************************************************************************/ |
| | | /** |
| | | * 金汇空间预约模块分页查询 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | |
| | | @GetMapping("/interspaceGetList") |
| | | public R interspaceGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "intendantType",required = false) String intendantType) |
| | | { |
| | | return jinhuiCommunityService.interspaceGetList(pageNum,pageSize,intendantType); |
| | | @RequestParam(value = "intendantType", required = false) String intendantType) { |
| | | return jinhuiCommunityService.interspaceGetList(pageNum, pageSize, intendantType); |
| | | } |
| | | |
| | | /** |
| | | * 金汇空间预约模块单个详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "金汇空间详情", response = JinhuiInterspaceVO.class) |
| | | @GetMapping("/interspaceGetDetails") |
| | | public R interspaceGetDetails(@RequestParam("id") String id) |
| | | { |
| | | public R interspaceGetDetails(@RequestParam("id") String id) { |
| | | return jinhuiCommunityService.interspaceGetDetails(id); |
| | | } |
| | | |
| | | |
| | | /*************************************************************************************************************** |
| | | * |
| | | * |
| | | * 空间预约申请 |
| | | * |
| | | * |
| | | **************************************************************************************************************/ |
| | | /** |
| | | * 空间预约申请分页查询 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "空间预约申请分页", response = JinhuiInterspaceApplyForVO.class) |
| | | @GetMapping("//applyFor/getList") |
| | | public R applyForGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "intendantType", required = false) String intendantType, |
| | | @RequestParam(value = "state", required = false) String state) { |
| | | return jinhuiCommunityService.applyForGetList(pageNum, pageSize, intendantType, state); |
| | | } |
| | | |
| | | /** |
| | | * 空间预约申请详情 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "空间预约申请详情", response = JinhuiInterspaceApplyForVO.class) |
| | | @GetMapping("/applyFor/getDetails") |
| | | public R applyForGetDetails(@RequestParam("id") String id) |
| | | { |
| | | return jinhuiCommunityService.applyForGetDetails(id); |
| | | } |
| | | |
| | | /** |
| | | * 空间预约申请新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "空间预约申请新增") |
| | | @PostMapping("/applyFor/addData") |
| | | public R applyForAddData(@RequestBody JinhuiInterspaceApplyForVO item) |
| | | { |
| | | return jinhuiCommunityService.applyForAddData(item); |
| | | } |
| | | |
| | | /** |
| | | * 空间预约申请编辑 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "空间预约申请编辑") |
| | | @PostMapping("/applyFor/editData") |
| | | public R applyForEditData(@RequestBody JinhuiInterspaceApplyForVO item) |
| | | { |
| | | return jinhuiCommunityService.applyForEditData(item); |
| | | } |
| | | |
| | | /** |
| | | * 空间预约申请删除 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "空间预约申请删除") |
| | | @DeleteMapping("/applyFor/expurgateData") |
| | | public R applyForExpurgateData(@RequestParam("id") String id) |
| | | { |
| | | return jinhuiCommunityService.applyForExpurgateData(id); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |