瀏覽代碼

机器人未读处理

WH01243 2 年之前
父節點
當前提交
a8f4acf7a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      service/message_mail_box.go

+ 1 - 1
service/message_mail_box.go

@@ -610,7 +610,7 @@ func UserSynchronousList(customerServiceId, userId, entId, messageId int64, crea
 		if sendUserType == 1 {
 			if itemType == 4 {
 				//机器人消息保存处理
-				ok = IC.BaseMysql.UpdateOrDeleteBySql(fmt.Sprintf("UPDATE  socialize_summary SET message_id = %d  WHERE user_id = %d and ent_id= %d", messageId, customer_service_access, userId, entId))
+				ok = IC.BaseMysql.UpdateOrDeleteBySql(fmt.Sprintf("UPDATE  socialize_summary SET message_id = %d  WHERE user_id = %d and ent_id= %d", messageId, userId, entId))
 			} else {
 				ok = IC.BaseMysql.UpdateOrDeleteBySql(fmt.Sprintf("UPDATE  socialize_summary SET message_id = %d, unread = unread+1, customer_service_access = %d WHERE user_id = %d and ent_id= %d", messageId, customer_service_access, userId, entId))
 			}