| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- package com.template.api;
- import com.template.model.dto.*;
- import com.template.model.pojo.LockRoomDto;
- import com.template.model.result.CommonResult;
- import com.template.model.vo.CleanRoomDtos;
- import com.template.model.vo.DirtyRoomDtos;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.web.bind.annotation.*;
- @RequestMapping("/auto/house-number-state")
- public interface HouseNumberStateAPI {
- @GetMapping("/dayList")
- @ApiOperation(value = "房态管理-单日", notes = "房态管理-单日", httpMethod = "GET")
- CommonResult page(String keyWord, String houseType,Integer houseId,Integer buildingId,Integer status);
- @GetMapping("/calendarList")
- @ApiOperation(value = "房态管理-日历", notes = "房态管理-日历", httpMethod = "GET")
- CommonResult calendarPage(String dateTime, String keyWord, String houseType, int page, int size,Integer houseId,Integer buildingId);
- @GetMapping("/particular")
- @ApiOperation(value = "房态管理-房间详情", notes = "房态管理-房间详情", httpMethod = "GET")
- CommonResult particular(String houseNumberId, Integer houseNumberStateId);
- @GetMapping("/reserveDay")
- @ApiOperation(value = "房态管理-管理端预定未来8天占用状态", notes = "房态管理-管理端预定未来8天占用状态", httpMethod = "GET")
- CommonResult reserveDay(String houseNumberId, String startTime, String endTime, int adminId);
- @GetMapping("/reservePrice")
- @ApiOperation(value = "房态管理-管理端预定需付总金额", notes = "房态管理-管理端预定需付总金额", httpMethod = "GET")
- CommonResult reservePrice(String houseId, String cardNumber, String liveTime, String leaveTime);
- @PostMapping("/reserve")
- @ApiOperation(value = "房态管理-管理端预定", notes = "房态管理-管理端预定", httpMethod = "POST")
- CommonResult reserve(@RequestBody ReserveDto reserveDto);
- @PostMapping("/checkIdCard")
- @ApiOperation(value = "房态管理-管理端入住", notes = "房态管理-管理端入住", httpMethod = "POST")
- CommonResult checkIdCard(@RequestBody CheckIdCardDto checkIdCardDto);
- @GetMapping("/roomChangePage")
- @ApiOperation(value = "房态管理-换房页面", notes = "房态管理-换房页面", httpMethod = "GET")
- CommonResult roomChangePage(String liveTime, String leaveTime, String houseNumberId, int adminId);
- @PostMapping("/roomChange")
- @ApiOperation(value = "房态管理-换房", notes = "房态管理-换房", httpMethod = "POST")
- CommonResult roomChange(@RequestBody RoomChangeDto roomChangeDto);
- @PostMapping("/checkOut")
- @ApiOperation(value = "房态管理-退房", notes = "房态管理-退房", httpMethod = "POST")
- CommonResult checkOut(@RequestBody CheckOutDto checkOutDto);
- @PostMapping("/refund")
- @ApiOperation(value = "房态管理-退款", notes = "房态管理-退款", httpMethod = "POST")
- CommonResult refund();
- @PostMapping("/maintain")
- @ApiOperation(value = "房态管理-维修", notes = "房态管理-维修", httpMethod = "POST")
- CommonResult maintain(@RequestBody MaintainDto maintainDto);
- @PostMapping("/lockRoom")
- @ApiOperation(value = "房态管理-锁房", notes = "房态管理-锁房", httpMethod = "POST")
- CommonResult lockRoom(@RequestBody LockRoomDto lockRoomDto);
- @PostMapping("/dirtyRoom")
- @ApiOperation(value = "房态管理-置脏", notes = "房态管理-置脏", httpMethod = "POST")
- CommonResult dirtyRoom(@RequestBody DirtyRoomDto dirtyRoomDto);
- @PostMapping("/cleanRoom")
- @ApiOperation(value = "房态管理-置净", notes = "房态管理-置净", httpMethod = "POST")
- CommonResult cleanRoom(@RequestBody CleanRoomDto cleanRoomDto);
- @PostMapping("/dirtyRooms")
- @ApiOperation(value = "房态管理-批量置脏", notes = "房态管理-批量置脏", httpMethod = "POST")
- CommonResult dirtyRooms(@RequestBody DirtyRoomDtos dirtyRoomDtos);
- @PostMapping("/cleanRooms")
- @ApiOperation(value = "房态管理-批量置净", notes = "房态管理-批量置净", httpMethod = "POST")
- CommonResult cleanRooms(@RequestBody CleanRoomDtos cleanRoomDtos);
- @PostMapping("/lockRooms")
- @ApiOperation(value = "房态管理-批量锁房", notes = "房态管理-批量锁房", httpMethod = "POST")
- CommonResult lockRoom(@RequestBody LockRoomDtos lockRoomDtos);
- @PostMapping("/openRooms")
- @ApiOperation(value = "房态管理-批量开房", notes = "房态管理-批量开房", httpMethod = "POST")
- CommonResult openRooms(@RequestBody OpenRoomsDto openRoomsDto);
- @GetMapping("/reserveHour")
- @ApiOperation(value = "房态管理-管理端钟点房当天占用状态", notes = "房态管理-管理端钟点房当天占用状态", httpMethod = "GET")
- CommonResult reserveHour(String houseNumberId, String startTime, int liveTime, int adminId);
- @GetMapping("/checkInShow")
- @ApiOperation(value = "房态管理-入住回显", notes = "房态管理-入住回显", httpMethod = "GET")
- CommonResult checkInShow(@RequestParam String orderNumber);
- @GetMapping("/freeDropDownShow")
- @ApiOperation(value = "房态管理-空闲房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
- CommonResult freeDropDownShow();
- @GetMapping("/dirtyDropDownShow")
- @ApiOperation(value = "房态管理-脏房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
- CommonResult dirtyDropDownShow();
- @GetMapping("/lockDropDownShow")
- @ApiOperation(value = "房态管理-锁房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
- CommonResult lockDropDownShow();
- @PostMapping("/cancelMaintain")
- @ApiOperation(value = "房态管理-取消维修", notes = "房态管理-取消维修", httpMethod = "POST")
- CommonResult cancelMaintain(@RequestBody CancelMaintainDto cancelMaintainDto);
- @GetMapping("/shutDropDownShow")
- @ApiOperation(value = "房态管理-关电下拉框", notes = "房态管理-关电下拉框", httpMethod = "GET")
- CommonResult shutDropDownShow();
- @GetMapping("/openDropDownShow")
- @ApiOperation(value = "房态管理-开电下拉框", notes = "房态管理-开电下拉框", httpMethod = "GET")
- CommonResult openDropDownShow();
- @PostMapping("/shutRooms")
- @ApiOperation(value = "房态管理-批量关电", notes = "房批量关电", httpMethod = "POST")
- CommonResult shutRooms(@RequestBody LockRoomDtos dtos);
- @PostMapping("/openERooms")
- @ApiOperation(value = "房态管理-批量开电", notes = "房态管理-批量开电", httpMethod = "POST")
- CommonResult openERooms(@RequestBody OpenRoomsDto openRoomsDto);
- }
|