Commit 6205f98c by 宋毅

tj

parent 84f1e108
...@@ -120,7 +120,7 @@ class OrderService extends ServiceBase { ...@@ -120,7 +120,7 @@ class OrderService extends ServiceBase {
var self = this; var self = this;
return await this.db.transaction(async function (t) { return await this.db.transaction(async function (t) {
await self.dao.updateByWhere(setObj, { where: { orderNo: action_body.orderNo } }, t); await self.dao.updateByWhere(setObj, { where: { orderNo: action_body.orderNo } }, t);
await self.ordertmproductDao.updateByWhere(setObj, { where: { orderNo: action_body.orderNo } }, t); await self.ordertmproductDao.updateByWhere(setObj, { where: { sourceOrderNo: action_body.orderNo } }, t);
return system.getResultSuccess(); 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