|
@@ -12,7 +12,7 @@ class TransactionService extends CrudService {
|
|
|
this.model = this.ctx.model.Transaction;
|
|
|
}
|
|
|
|
|
|
- async query(query, { skip = 0, limit = 0 } = {}) {
|
|
|
+ async query({ skip = 0, limit = 0, ...query }) {
|
|
|
query = this.ctx.service.util.util.dealQuery(query);
|
|
|
const { user_id, supplier, demander, status, ...info } = query;
|
|
|
if (status)query.status = status.split(',');
|