|
@ -438,7 +438,7 @@ class TopicRepo {
|
|
|
* @param topicId
|
|
|
*/
|
|
|
static replyTopic(reply_user,reply_message_id,topicId,handler){
|
|
|
let sql = "UPDATE " + DB_TABLES.Topics + " SET REPLY = 1,REPLY_TIME = NOW(),REPLY_USER = :REPLY_USER,REPLY_MESSAGE_ID = :REPLY_MESSAGE_ID WHERE ID = :ID";
|
|
|
let sql = "UPDATE " + DB_TABLES.Topics + " SET REPLY = 1,REPLY_TIME = SYSDATE,REPLY_USER = :REPLY_USER,REPLY_MESSAGE_ID = :REPLY_MESSAGE_ID WHERE ID = :ID";
|
|
|
oracledbUtil.query({
|
|
|
"sql": sql,
|
|
|
"args": [reply_user, reply_message_id, topicId],
|