HouseNumberStateAPI.java 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. package com.template.api;
  2. import com.template.model.dto.*;
  3. import com.template.model.pojo.LockRoomDto;
  4. import com.template.model.result.CommonResult;
  5. import com.template.model.vo.CleanRoomDtos;
  6. import com.template.model.vo.DirtyRoomDtos;
  7. import io.swagger.annotations.ApiOperation;
  8. import org.springframework.web.bind.annotation.*;
  9. @RequestMapping("/auto/house-number-state")
  10. public interface HouseNumberStateAPI {
  11. @GetMapping("/dayList")
  12. @ApiOperation(value = "房态管理-单日", notes = "房态管理-单日", httpMethod = "GET")
  13. CommonResult page(String keyWord, String houseType,Integer houseId,Integer buildingId,Integer status);
  14. @GetMapping("/calendarList")
  15. @ApiOperation(value = "房态管理-日历", notes = "房态管理-日历", httpMethod = "GET")
  16. CommonResult calendarPage(String dateTime, String keyWord, String houseType, int page, int size,Integer houseId,Integer buildingId);
  17. @GetMapping("/particular")
  18. @ApiOperation(value = "房态管理-房间详情", notes = "房态管理-房间详情", httpMethod = "GET")
  19. CommonResult particular(String houseNumberId, Integer houseNumberStateId);
  20. @GetMapping("/reserveDay")
  21. @ApiOperation(value = "房态管理-管理端预定未来8天占用状态", notes = "房态管理-管理端预定未来8天占用状态", httpMethod = "GET")
  22. CommonResult reserveDay(String houseNumberId, String startTime, String endTime, int adminId);
  23. @GetMapping("/reservePrice")
  24. @ApiOperation(value = "房态管理-管理端预定需付总金额", notes = "房态管理-管理端预定需付总金额", httpMethod = "GET")
  25. CommonResult reservePrice(String houseId, String cardNumber, String liveTime, String leaveTime);
  26. @PostMapping("/reserve")
  27. @ApiOperation(value = "房态管理-管理端预定", notes = "房态管理-管理端预定", httpMethod = "POST")
  28. CommonResult reserve(@RequestBody ReserveDto reserveDto);
  29. @PostMapping("/checkIdCard")
  30. @ApiOperation(value = "房态管理-管理端入住", notes = "房态管理-管理端入住", httpMethod = "POST")
  31. CommonResult checkIdCard(@RequestBody CheckIdCardDto checkIdCardDto);
  32. @GetMapping("/roomChangePage")
  33. @ApiOperation(value = "房态管理-换房页面", notes = "房态管理-换房页面", httpMethod = "GET")
  34. CommonResult roomChangePage(String liveTime, String leaveTime, String houseNumberId, int adminId);
  35. @PostMapping("/roomChange")
  36. @ApiOperation(value = "房态管理-换房", notes = "房态管理-换房", httpMethod = "POST")
  37. CommonResult roomChange(@RequestBody RoomChangeDto roomChangeDto);
  38. @PostMapping("/checkOut")
  39. @ApiOperation(value = "房态管理-退房", notes = "房态管理-退房", httpMethod = "POST")
  40. CommonResult checkOut(@RequestBody CheckOutDto checkOutDto);
  41. @PostMapping("/refund")
  42. @ApiOperation(value = "房态管理-退款", notes = "房态管理-退款", httpMethod = "POST")
  43. CommonResult refund();
  44. @PostMapping("/maintain")
  45. @ApiOperation(value = "房态管理-维修", notes = "房态管理-维修", httpMethod = "POST")
  46. CommonResult maintain(@RequestBody MaintainDto maintainDto);
  47. @PostMapping("/lockRoom")
  48. @ApiOperation(value = "房态管理-锁房", notes = "房态管理-锁房", httpMethod = "POST")
  49. CommonResult lockRoom(@RequestBody LockRoomDto lockRoomDto);
  50. @PostMapping("/dirtyRoom")
  51. @ApiOperation(value = "房态管理-置脏", notes = "房态管理-置脏", httpMethod = "POST")
  52. CommonResult dirtyRoom(@RequestBody DirtyRoomDto dirtyRoomDto);
  53. @PostMapping("/cleanRoom")
  54. @ApiOperation(value = "房态管理-置净", notes = "房态管理-置净", httpMethod = "POST")
  55. CommonResult cleanRoom(@RequestBody CleanRoomDto cleanRoomDto);
  56. @PostMapping("/dirtyRooms")
  57. @ApiOperation(value = "房态管理-批量置脏", notes = "房态管理-批量置脏", httpMethod = "POST")
  58. CommonResult dirtyRooms(@RequestBody DirtyRoomDtos dirtyRoomDtos);
  59. @PostMapping("/cleanRooms")
  60. @ApiOperation(value = "房态管理-批量置净", notes = "房态管理-批量置净", httpMethod = "POST")
  61. CommonResult cleanRooms(@RequestBody CleanRoomDtos cleanRoomDtos);
  62. @PostMapping("/lockRooms")
  63. @ApiOperation(value = "房态管理-批量锁房", notes = "房态管理-批量锁房", httpMethod = "POST")
  64. CommonResult lockRoom(@RequestBody LockRoomDtos lockRoomDtos);
  65. @PostMapping("/openRooms")
  66. @ApiOperation(value = "房态管理-批量开房", notes = "房态管理-批量开房", httpMethod = "POST")
  67. CommonResult openRooms(@RequestBody OpenRoomsDto openRoomsDto);
  68. @GetMapping("/reserveHour")
  69. @ApiOperation(value = "房态管理-管理端钟点房当天占用状态", notes = "房态管理-管理端钟点房当天占用状态", httpMethod = "GET")
  70. CommonResult reserveHour(String houseNumberId, String startTime, int liveTime, int adminId);
  71. @GetMapping("/checkInShow")
  72. @ApiOperation(value = "房态管理-入住回显", notes = "房态管理-入住回显", httpMethod = "GET")
  73. CommonResult checkInShow(@RequestParam String orderNumber);
  74. @GetMapping("/freeDropDownShow")
  75. @ApiOperation(value = "房态管理-空闲房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
  76. CommonResult freeDropDownShow();
  77. @GetMapping("/dirtyDropDownShow")
  78. @ApiOperation(value = "房态管理-脏房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
  79. CommonResult dirtyDropDownShow();
  80. @GetMapping("/lockDropDownShow")
  81. @ApiOperation(value = "房态管理-锁房下拉框", notes = "房态管理-入住回显", httpMethod = "GET")
  82. CommonResult lockDropDownShow();
  83. @PostMapping("/cancelMaintain")
  84. @ApiOperation(value = "房态管理-取消维修", notes = "房态管理-取消维修", httpMethod = "POST")
  85. CommonResult cancelMaintain(@RequestBody CancelMaintainDto cancelMaintainDto);
  86. @GetMapping("/shutDropDownShow")
  87. @ApiOperation(value = "房态管理-关电下拉框", notes = "房态管理-关电下拉框", httpMethod = "GET")
  88. CommonResult shutDropDownShow();
  89. @GetMapping("/openDropDownShow")
  90. @ApiOperation(value = "房态管理-开电下拉框", notes = "房态管理-开电下拉框", httpMethod = "GET")
  91. CommonResult openDropDownShow();
  92. @PostMapping("/shutRooms")
  93. @ApiOperation(value = "房态管理-批量关电", notes = "房批量关电", httpMethod = "POST")
  94. CommonResult shutRooms(@RequestBody LockRoomDtos dtos);
  95. @PostMapping("/openERooms")
  96. @ApiOperation(value = "房态管理-批量开电", notes = "房态管理-批量开电", httpMethod = "POST")
  97. CommonResult openERooms(@RequestBody OpenRoomsDto openRoomsDto);
  98. }