|
@@ -106,6 +106,14 @@ public class VoyageController {
|
|
|
return success(BeanUtils.toBean(list, VoyageRespVO.class));
|
|
|
}
|
|
|
|
|
|
+ //根据游轮ID获取上架的航次列表
|
|
|
+ @GetMapping("/on-shelf-list-by-ship-id")
|
|
|
+ @Operation(summary = "根据游轮ID获取上架的航次列表,给旅行社下单时调用")
|
|
|
+ public CommonResult<List<VoyageRespVO>> getOnShelfListByShipId(@RequestParam("shipId") Long shipId) {
|
|
|
+ List<VoyageDO> list = voyageService.getOnShelfListByShipId(shipId);
|
|
|
+ return success(BeanUtils.toBean(list, VoyageRespVO.class));
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/export-excel")
|
|
|
@Operation(summary = "导出航次管理 Excel")
|
|
|
@PreAuthorize("@ss.hasPermission('product:voyage:export')")
|