Commit 68500be7 authored by 李尚科's avatar 李尚科
parents f2bc7cb2 f1c19f6d
Pipeline #13734 passed with stage
in 28 seconds
......@@ -268,7 +268,8 @@ class ApplyService extends Service {
valid: 1
}
await ctx.prometheusModel.CreditOrder.update(updateOrderData, { where: { id: order.id } });
let currentOrder = await ctx.prometheusModel.CreditOrder.findOne({ where: { id: order.id } });
await ctx.service.credit.order.logOrder(currentOrder);
return ret;
}
......
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