Commit 53611d82 by 孙亚楠

d

parent b4247bc0
......@@ -441,10 +441,16 @@ class OorderstatusService extends ServiceBase {
let oorderProperty = {};
oorderProperty.status = this.trim(params.status);
oorderProperty.id = params._order.id;
let oOrderDeliverProperty = {
id:params._order.deliver_id,
order_id:oorderInforegProperty.id,
completed_at:new Date()
};
try {
await this.db.transaction(async t => {
await this.oorderinforegDao.update(oorderInforegProperty, t);
await this.dao.update(oorderProperty, t);
await this.oorderdeliverDao.update(oOrderDeliverProperty, t);
});
return system.getResultSuccess();
......
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