|  |  |  | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.LoginUserInfoVO; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.R; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.community.ComActReserveCommitVO; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.community.ComActReserveIndexVo; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.community.reserve.ComActReserveAppletsVO; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.community.reserve.ComActReserveDetailVO; | 
|---|
|  |  |  | import com.panzhihua.common.model.vos.community.reserve.ComOperationDetailVO; | 
|---|
|  |  |  | import com.panzhihua.common.service.community.CommunityService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | 
|---|
|  |  |  | @Resource | 
|---|
|  |  |  | private CommunityService communityService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("详情") | 
|---|
|  |  |  | @ApiOperation(value = "详情",response = ComActReserveDetailVO.class) | 
|---|
|  |  |  | @GetMapping("/detail") | 
|---|
|  |  |  | public R detail(@RequestParam("id") Long id,@RequestParam("recordId") Long recordId,@RequestParam("isBack") Integer isBack){ | 
|---|
|  |  |  | return communityService.reserveDetail(id,this.getUserId(),recordId,isBack); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param pageUserReserveDTO | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiOperation("我的预约/登记") | 
|---|
|  |  |  | @ApiOperation(value = "我的预约/登记",response = ComActReserveAppletsVO.class) | 
|---|
|  |  |  | @PostMapping("/userReserveList") | 
|---|
|  |  |  | public R userReserveList(@RequestBody PageUserReserveDTO pageUserReserveDTO){ | 
|---|
|  |  |  | pageUserReserveDTO.setUserId(this.getUserId()); | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 预约详情操作记录 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiOperation("预约详情操作记录") | 
|---|
|  |  |  | @ApiOperation(value = "预约详情操作记录",response = ComOperationDetailVO.class) | 
|---|
|  |  |  | @PostMapping("/detailOperation") | 
|---|
|  |  |  | public R reserveOperation(@RequestBody OperationDetailDTO comActReserveOperationRecordDO){ | 
|---|
|  |  |  | comActReserveOperationRecordDO.setUserId(this.getUserId()); | 
|---|
|  |  |  | return communityService.reserveOperation(comActReserveOperationRecordDO); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("预约登记列表") | 
|---|
|  |  |  | @ApiOperation(value = "预约登记列表",response = ComActReserveIndexVo.class) | 
|---|
|  |  |  | @GetMapping("/list") | 
|---|
|  |  |  | public R list(@RequestParam("communityId") Long communityId){ | 
|---|
|  |  |  | LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); | 
|---|