| | |
| | | visits.setSourceType(Constants.ZERO); |
| | | return ApiResponse.success("查询成功", visitsService.createFk(visits,false,Constants.ZERO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "来访事由", notes = "来访事由") |
| | | @PostMapping("/visitReason") |
| | | public ApiResponse<List<VisitReason>> visitReason() { |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 2025-3-25 14:14:34 加入取消预约 待审批、审批中、已审批 |
| | | * @param visitId |
| | | * @return |
| | | */ |
| | | @ApiOperation("取消预约") |
| | | @GetMapping("/visitsSelfCancel") |
| | | public ApiResponse visitsSelfCancel(@RequestParam Integer visitId,Integer memberId,@RequestParam String openid){ |
| | | if(Objects.isNull(memberId)){ |
| | | memberId = Constants.ZERO; |
| | | } |
| | | visitsService.visitsSelfCancel(visitId,memberId,openid); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | |
| | | } |