Commit 0fa0defa by 庄冰

order

parent d26b0502
...@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase { ...@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase {
raw:true raw:true
}); });
if(beforeOrder){//订单已存在 if(beforeOrder){//订单已存在
return system.getResultFail(2, "订单已存在"); return system.getResultFail(2, "订单已存在",beforeOrder.orderNo);
} }
return await self.db.transaction(async function (t) { return await self.db.transaction(async function (t) {
var orderNo = await self.getBusUid("o"); var orderNo = await self.getBusUid("o");
......
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