wy
This commit is contained in:
@@ -7,34 +7,34 @@ import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询服务订阅列表
|
||||
* 查询会议预定列表
|
||||
* @param params
|
||||
* @returns 服务订阅列表
|
||||
* @returns 会议预定列表
|
||||
*/
|
||||
export function ceremonialserveRoombookingList(params?: CeremonialserveRoombookingQuery) {
|
||||
return requestClient.get<PageResult<CeremonialserveRoombookingVO>>('/property/ceremonialserveRoombooking/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出服务订阅列表
|
||||
* 导出会议预定列表
|
||||
* @param params
|
||||
* @returns 服务订阅列表
|
||||
* @returns 会议预定列表
|
||||
*/
|
||||
export function ceremonialserveRoombookingExport(params?: CeremonialserveRoombookingQuery) {
|
||||
return commonExport('/property/ceremonialserveRoombooking/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询服务订阅详情
|
||||
* 查询会议预定详情
|
||||
* @param id id
|
||||
* @returns 服务订阅详情
|
||||
* @returns 会议预定详情
|
||||
*/
|
||||
export function ceremonialserveRoombookingInfo(id: ID) {
|
||||
return requestClient.get<CeremonialserveRoombookingVO>(`/property/ceremonialserveRoombooking/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增服务订阅
|
||||
* 新增会议预定
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -43,7 +43,7 @@ export function ceremonialserveRoombookingAdd(data: CeremonialserveRoombookingFo
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新服务订阅
|
||||
* 更新会议预定
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ceremonialserveRoombookingUpdate(data: CeremonialserveRoombookin
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除服务订阅
|
||||
* 删除会议预定
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
|
@@ -1,11 +1,6 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface CeremonialserveRoombookingVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
@@ -21,6 +16,11 @@ export interface CeremonialserveRoombookingVO {
|
||||
*/
|
||||
totalPrice: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingForm extends BaseEntity {
|
||||
@@ -44,6 +44,11 @@ export interface CeremonialserveRoombookingForm extends BaseEntity {
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingQuery extends PageQuery {
|
||||
@@ -62,6 +67,11 @@ export interface CeremonialserveRoombookingQuery extends PageQuery {
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
|
@@ -0,0 +1,76 @@
|
||||
export interface CeremonialserveRoombookingVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user