物业代码生成
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
import type { CeremonialserveRoombookingVO, CeremonialserveRoombookingForm, CeremonialserveRoombookingQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询服务订阅列表
|
||||
* @param params
|
||||
* @returns 服务订阅列表
|
||||
*/
|
||||
export function ceremonialserveRoombookingList(params?: CeremonialserveRoombookingQuery) {
|
||||
return requestClient.get<PageResult<CeremonialserveRoombookingVO>>('/property/ceremonialserveRoombooking/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出服务订阅列表
|
||||
* @param params
|
||||
* @returns 服务订阅列表
|
||||
*/
|
||||
export function ceremonialserveRoombookingExport(params?: CeremonialserveRoombookingQuery) {
|
||||
return commonExport('/property/ceremonialserveRoombooking/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询服务订阅详情
|
||||
* @param id id
|
||||
* @returns 服务订阅详情
|
||||
*/
|
||||
export function ceremonialserveRoombookingInfo(id: ID) {
|
||||
return requestClient.get<CeremonialserveRoombookingVO>(`/property/ceremonialserveRoombooking/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增服务订阅
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function ceremonialserveRoombookingAdd(data: CeremonialserveRoombookingForm) {
|
||||
return requestClient.postWithMsg<void>('/property/ceremonialserveRoombooking', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新服务订阅
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function ceremonialserveRoombookingUpdate(data: CeremonialserveRoombookingForm) {
|
||||
return requestClient.putWithMsg<void>('/property/ceremonialserveRoombooking', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除服务订阅
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function ceremonialserveRoombookingRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/ceremonialserveRoombooking/${id}`);
|
||||
}
|
Reference in New Issue
Block a user