Commit 4286e193 by 胡悦

修改出货统计 分页问题

1 parent d0ec94d3
/* /*
* @Author: chenwq * @Author: chenwq
* @Date: 2020-06-17 11:12:15 * @Date: 2020-06-17 11:12:15
* @Last Modified by: chenwq * @Last Modified by: huyue
* @Last Modified time: 2020-06-19 13:51:10 * @Last Modified time: 2020-06-24 16:01:41
*/ */
"use strict"; "use strict";
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
* @Request searcher * @Request searcher
* @Response 200 response ok * @Response 200 response ok
*/ */
async findAll({ request: { body: { searcher }}}) { async findAll({ request: { body: { pager, searcher }}}) {
// get请求获取参数 // get请求获取参数
// searcher = this.ctx.query // searcher = this.ctx.query
const result = await this.deliveryServices.findAll({ searcher }); const result = await this.deliveryServices.findAll({ pager, searcher });
// const result = await this.deliveryServices.findAll({ pager, searcher }); // const result = await this.deliveryServices.findAll({ pager, searcher });
this.ctx.body = this.ServerResponse.Success(result); this.ctx.body = this.ServerResponse.Success(result);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!