|
|
@@ -15,6 +15,7 @@ import org.jeecg.common.aspect.annotation.AutoLog;
|
|
|
import org.jeecg.common.exception.JeecgBootException;
|
|
|
import org.jeecg.modules.rooms.DTO.*;
|
|
|
import org.jeecg.modules.rooms.Enum.CouponEnums;
|
|
|
+import org.jeecg.modules.rooms.Vo.CanUseResultVo;
|
|
|
import org.jeecg.modules.rooms.Vo.FloorBuildingRoomVo;
|
|
|
import org.jeecg.modules.rooms.Vo.FloorWithBuildingVo;
|
|
|
import org.jeecg.modules.rooms.entity.CesRoomLayout;
|
|
|
@@ -111,7 +112,7 @@ public class CesRoomsController {
|
|
|
*/
|
|
|
@ApiOperation(value="可用房间", notes="可用房间")
|
|
|
@GetMapping(value = "/can-user-rooms")
|
|
|
- public Result getCanUseRooms(CanUseRequestParamDto param) {
|
|
|
+ public Result<List<CanUseResultVo>> getCanUseRooms(CanUseRequestParamDto param) {
|
|
|
if(param.getHotelId()==null || param.getHotelId().isEmpty())
|
|
|
throw new JeecgBootException("参数错误");
|
|
|
if(param.getEndOf() == null || param.getStartOf() == null)
|