Commit a42307c5 by 王悦

fix

parent 52d0f93a
...@@ -705,8 +705,8 @@ class TrademarktransactionService extends ServiceBase { ...@@ -705,8 +705,8 @@ class TrademarktransactionService extends ServiceBase {
} }
} }
async forceUpdate(pobj, status) { async forceUpdate(pobj, status) {
let item = await this.dao.model.findOne({id:pobj.id}) let item = await this.dao.findOne({id:pobj.actionBody.id})
item.platform_quoted_price = pobj.price item.platform_quoted_price = pobj.actionBody.price
let obj = buildobj(item,status) let obj = buildobj(item,status)
if (obj) { if (obj) {
let err = await reqbyget({ let err = await reqbyget({
...@@ -726,6 +726,7 @@ class TrademarktransactionService extends ServiceBase { ...@@ -726,6 +726,7 @@ class TrademarktransactionService extends ServiceBase {
} }
return system.getResultSuccess() return system.getResultSuccess()
} }
return system.getResultError("数据异常")
} }
/** /**
* @api {post} /tmtransaction/action/trademarktransaction/springBoard 修改 * @api {post} /tmtransaction/action/trademarktransaction/springBoard 修改
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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