|
|
@@ -791,4 +791,17 @@ public class BusHotelController extends JeecgController<BusHotel, IBusHotelServi
|
|
|
List<BusHotel> list = busHotelService.list(queryWrapper);
|
|
|
return Result.OK(list);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设置入住付款状态
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @ApiOperation(value="设置入住付款状态", notes="设置入住付款状态")
|
|
|
+ @GetMapping(value = "/set-pay-state")
|
|
|
+ public Result<Boolean> setPayState(String hotelId,String type) {
|
|
|
+ BusHotel hotel = busHotelService.getById(hotelId);
|
|
|
+ if(hotel==null) throw new JeecgBootException("酒店不存在");
|
|
|
+ hotel.setRemenmberPayState(type);
|
|
|
+ return Result.OK(true);
|
|
|
+ }
|
|
|
}
|