Commit d7fde5d5 authored by 姜登's avatar 姜登

gjj

parent 30dc1271
Pipeline #11106 passed with stage
in 3 seconds
......@@ -43,7 +43,7 @@ class OrderService extends Service {
}
const { appKey, taskId, notifyUrl, backUrl, userId } = order[0];
if (taskId) {
await ctx.model.TaskStatus.create({ appKey, status: 'init', notifyUrl, backUrl, userId, ...params })
await ctx.model.TaskStatus.create({ appKey, status: 'init', notifyUrl, backUrl, userId, ...params });
} else {
await order[0].update(params);
}
......@@ -52,7 +52,7 @@ class OrderService extends Service {
async oldgjjStatus(params) {
const { ctx } = this;
await ctx.nodemodel.GjjStatus.update({ status: params.status }, {
await ctx.nodemodel.GjjStatus.update({ status: params.status, note: params.note || '' }, {
where: {
orderId: params.orderId,
},
......
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