Explorar o código

Merge branch 'im-internet-hospital' of huangwenjie/im.doctor into im-internet-hospital

huangwenjie %!s(int64=6) %!d(string=hai) anos
pai
achega
8d4b52cd2c
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

@ -123,7 +123,7 @@ class SessionRepo {
        let sql = "select session_id count from " + DB_TABLES.Participants + " w where w.participant_id = ? group by w.session_id";
        let sessionSQL = "select count(id) count from " + DB_TABLES.Sessions + " s where s.id in(" + sql + ") and s.type=?";
        if(status != null){
            sessionSQL = sessionSQL + " s.status="+status;
            sessionSQL = sessionSQL + " and s.status="+status;
        }
        ImDb.execQuery({
            "sql": sessionSQL,