|
|
@@ -15,10 +15,10 @@ export class HetongService extends GenericCrudService<Hetong> {
|
|
|
keyword?: string,
|
|
|
searchFields?: string[],
|
|
|
where: Partial<Hetong> = {},
|
|
|
- relations: string[] = ['client'], // 默认关联查询客户信息
|
|
|
+ relations: string[] = [], // 默认关联查询客户信息
|
|
|
order: { [P in keyof Hetong]?: 'ASC' | 'DESC' } = {}
|
|
|
): Promise<[Hetong[], number]> {
|
|
|
- return super.getList(page, pageSize, keyword, searchFields, where, relations, order);
|
|
|
+ return super.getList(page, pageSize, keyword, searchFields, where, ['client'], order);
|
|
|
}
|
|
|
|
|
|
/**
|