Browse Source

讨论组对应咨询查询条件修改

lyr 8 years ago
parent
commit
7da79ae122
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/doctor/models/patient.js

+ 10 - 1
src/doctor/models/patient.js

@ -120,8 +120,17 @@ class Patient extends BaseModel {
            self.sendConsultWechatReplyTempMsg(message);
            return;
        }
        groupRepo.getOnGroupMsg(message.msgId, function (err, result) {
            if (err) {
                modelUtil.emitDbError(self.eventEmitter, "get group msg info failed", err);
            }
        patientClient.socketServer.sockets.emit('message',groupRepo.getOnGroupMsg(message.msgId));
            var msg = result ? result[0] : "";
            if (msg) {
                patientClient.socketServer.sockets.emit('message', msg);
            }
        })
    };
    /**