Commit c5b3149d by linboxuan

writeCommunicationLog api

parent b516ab41
...@@ -183,7 +183,10 @@ class NeedinfoService extends ServiceBase { ...@@ -183,7 +183,10 @@ class NeedinfoService extends ServiceBase {
BizId: actionBody.BizId BizId: actionBody.BizId
}; };
let updateRes = await this.customUpdate(sql,paramWhere); let updateRes = await this.customUpdate(sql,paramWhere);
return system.getResult(updateRes); if(updateRes[1]) {
return system.getResultSuccess();
}
return system.getResult("添加记录失败");
} }
} }
module.exports = NeedinfoService; module.exports = NeedinfoService;
......
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