Commit 882d0252 by 王悦

fix

parent 68a33287
...@@ -822,8 +822,11 @@ class TrademarktransactionService extends ServiceBase { ...@@ -822,8 +822,11 @@ class TrademarktransactionService extends ServiceBase {
if (!pobj || !pobj.actionBody) { if (!pobj || !pobj.actionBody) {
return system.getResultFail(-106, "actionBody is empty"); return system.getResultFail(-106, "actionBody is empty");
} }
var res = await this.dao.update(actionBody) await this.dao.update(actionBody)
return system.getResultSuccess(res); let err
if (actionBody.publish_status === "uppershelf")
err = await this.updateAlistatus([actionBody.id],"ON_SALE")
return system.getResult(!err,err);
} }
/** /**
......
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