Commit c2c485e0 authored by 姜登's avatar 姜登

attribute

parent 61b34106
Pipeline #17716 passed with stage
in 5 seconds
......@@ -4,7 +4,7 @@
* @Author: jd
* @Date: 2019-02-25 18:59:53
* @LastEditors: jd
* @LastEditTime: 2019-11-28 14:49:08
* @LastEditTime: 2019-12-03 16:19:17
*/
'use strict';
......@@ -14,7 +14,7 @@ class OrderService extends Service {
async getOneByOrderId(params) {
const { ctx } = this;
const order = await ctx.model.TaskStatus.findOne({
attributes: ['id', 'order'],
attributes: ['id', 'orderId'],
where: params,
});
return order;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment