| | |
| | | @RequestParam("pageSize") int pageSize) |
| | | { |
| | | return newStriveForFeign.getNewFightCommunityList(pageNum,pageSize, |
| | | getCommunityId()+"",getUserId()+""); |
| | | getCommunityId()+"",null); |
| | | } |
| | | |
| | | @ApiOperation(value = "社区共建项目删除", response = NewFightCommunityConstructionDTO.class) |
| | | @ApiOperation(value = "社区共建项目详情", response = NewFightCommunityConstructionDTO.class) |
| | | @GetMapping("/getNewFightCommunityDetails") |
| | | public R getNewFightCommunityDetails(@RequestParam("id") String id) |
| | | { |
| | | return newStriveForFeign.getNewFightCommunityDetails(id); |
| | | return newStriveForFeign.getNewFightCommunityDetails(id,getUserId()+""); |
| | | } |
| | | |
| | | @ApiOperation(value = "社区共建项目添加") |
| | |
| | | @PostMapping("/editProjectPlanAccomplish") |
| | | public R editProjectPlanAccomplish(@RequestParam("id") String id) |
| | | { |
| | | NewFightProjectPlanDTO item =new NewFightProjectPlanDTO(); |
| | | item.setId(id); |
| | | item.setAffirmTime(new Date()); |
| | | item.setAccomplish("1"); |
| | | return newStriveForFeign.editProjectPlanData(item); |
| | | return newStriveForFeign.editProjectPlanAccomplish(id); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | @ApiOperation(value = "项目参与人员取消报名") |
| | | @DeleteMapping("/expurgateJoinData") |
| | | public R expurgateJoinData(@RequestParam("id") String id) |
| | | public R expurgateJoinData(@RequestParam(value = "id", required = false) String id, |
| | | @RequestParam(value = "projectId", required = false) String projectId, |
| | | @RequestParam(value = "userId", required = false) String userId) |
| | | { |
| | | return newStriveForFeign.expurgateJoinData(id); |
| | | return newStriveForFeign.expurgateJoinData(id,projectId,userId); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | /************************************************************************************************************ |
| | | * |
| | | * 资源共享 |
| | | * |
| | | *************************************************************************************************************/ |
| | | |
| | | @ApiOperation(value = "资源共享列表", response = NewFightResourceSharingDTO.class) |
| | | @GetMapping("/getResourceSharingList") |
| | | public R getResourceSharingList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "communityId", required = false)String communityId) |
| | | { |
| | | return newStriveForFeign.getResourceSharingList(pageNum,pageSize,communityId,null); |
| | | } |
| | | |
| | | @ApiOperation(value = "资源共享详情", response = NewFightResourceSharingDTO.class) |
| | | @GetMapping("/getResourceSharingDetails") |
| | | public R getResourceSharingDetails(@RequestParam("id") String id) |
| | | { |
| | | return newStriveForFeign.getResourceSharingDetails(id); |
| | | } |
| | | |
| | | } |