Explorar o código

IM接口BUG修改

huangwenjie %!s(int64=6) %!d(string=hai) anos
pai
achega
6de511dbec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/repository/mysql/session.repo.js

+ 1 - 1
src/server/repository/mysql/session.repo.js

@ -151,7 +151,7 @@ class SessionRepo {
            + DB_TABLES.Sessions + " s where s.id in(" + sql + ") and s.type=? ";
        if(status != null && status != ""){
            sessionSQL += " s.id="+status
            sessionSQL += " and s.status="+status
        }
        sessionSQL +=  " order by s.last_message_time desc limit "+page+","+pagesize;