فهرست منبع

代码修改错误修改

8 سال پیش
والد
کامیت
c71b6b3981
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/server/repository/mysql/session.repo.js

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

@ -41,7 +41,7 @@ class SessionRepo {
     */
    static
    findAll(userId, handler) {
        let sql = "select session_id from " + DB_TABLES.SessionParticipants + " w where w.participant_id = ? group by w.session_id";
        let sql = "select session_id from " + DB_TABLES.Participants + " w where w.participant_id = ? group by w.session_id";
        let sessionSQL = "select id,name,type,create_date from " + DB_TABLES.Sessions + " s where s.id in(" + sql + ")";
        ImDb.execQuery({
            "sql": sessionSQL,