| | |
| | | @GetMapping("/experienceGetDetails") |
| | | public R experienceGetDetails(@RequestParam("id") String id) |
| | | { |
| | | return jinhuiCommunityService.experienceGetDetails(id); |
| | | return jinhuiCommunityService.experienceGetDetails(id,getUserId()+""); |
| | | } |
| | | |
| | | |
| | |
| | | return jinhuiCommunityService.filIn(getUserId()+"",activityId,content); |
| | | } |
| | | |
| | | |
| | | /****************************************************************************************************** |
| | | * |
| | | * 金汇家园 |
| | | * |
| | | *******************************************************************************************************/ |
| | | /** |
| | | * 分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "金汇家园列表", response = JinhuiArticleManagementVO.class) |
| | | @GetMapping("/homeGetList") |
| | | public R homeGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize) |
| | | { |
| | | return jinhuiCommunityService.articleGetList(pageNum,pageSize,null,"2"); |
| | | } |
| | | |
| | | /** |
| | | * 详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "金汇家园详情", response = JinhuiArticleManagementVO.class) |
| | | @GetMapping("/homeGetDetails") |
| | | public R homeGetDetails(@RequestParam("id") String id) |
| | | { |
| | | 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); |
| | | } |
| | | |
| | | } |