|
@@ -72,7 +72,7 @@ export class DemandController implements BaseController {
|
|
|
async list(@Query() query: object) {
|
|
|
const qobj = omit(query, ['skip', 'limit']);
|
|
|
const others = pick(query, ['skip', 'limit']);
|
|
|
- const { data, total } = await this.service.query(qobj, others);
|
|
|
+ const { data, total } = await this.service.query(qobj, others, { field: this.service.Opera.In });
|
|
|
for (let i of data) {
|
|
|
i = await this.serviceUtil.fillOnwer(i);
|
|
|
}
|