|
@ -1382,6 +1382,7 @@ class Sessions extends RedisModel {
|
|
|
|
|
|
let has = false;
|
|
let has = false;
|
|
for (let j in res) {
|
|
for (let j in res) {
|
|
|
|
has = false;
|
|
//是否过滤指定类型
|
|
//是否过滤指定类型
|
|
if( type != null){
|
|
if( type != null){
|
|
let typeString = type.split(",");
|
|
let typeString = type.split(",");
|
|
@ -1407,7 +1408,7 @@ class Sessions extends RedisModel {
|
|
has = true
|
|
has = true
|
|
}
|
|
}
|
|
if(!has){
|
|
if(!has){
|
|
ModelUtil.emitOK(self.eventEmitter, {count: 0, patient: 0,patientEnd: 0, doctor: 0});
|
|
|
|
|
|
ModelUtil.emitOK(self.eventEmitter, {count: count, patient: patientCount,patientEnd: 0, doctor: doctorCount});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|