Commit e3b31c2e by linboxuan

writeCommunicationLog api

parent c5b3149d
...@@ -175,7 +175,7 @@ class NeedinfoService extends ServiceBase { ...@@ -175,7 +175,7 @@ class NeedinfoService extends ServiceBase {
} }
async writeCommunicationLog(pobj,actionBody){ async writeCommunicationLog(pobj,actionBody){
actionBody.Note = ["noteTime",moment().format("YYYY-MM-DD HH:mm:ss"),"note","5条note"]; actionBody.Note = ["noteTime",moment().format("YYYY-MM-DD HH:mm:ss"),"note",actionBody.Note];
var sql = "update n_need_info set followContent=json_array_append(followContent, '$', JSON_OBJECT(:Note)) where channelNeedNo=:BizId" var sql = "update n_need_info set followContent=json_array_append(followContent, '$', JSON_OBJECT(:Note)) where channelNeedNo=:BizId"
// var sql = "update n_need_info set followContent=json_array_append(followContent, '$', "+ "\"" + JSON.stringify(actionBody.Note) + "\""+") where channelNeedNo="+ "\"" +actionBody.BizId +"\"" +" " // var sql = "update n_need_info set followContent=json_array_append(followContent, '$', "+ "\"" + JSON.stringify(actionBody.Note) + "\""+") where channelNeedNo="+ "\"" +actionBody.BizId +"\"" +" "
var paramWhere = { var paramWhere = {
......
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