Authored by yyq

fix list group

... ... @@ -147,7 +147,7 @@ module.exports = class extends global.yoho.BaseModel {
break;
case 2:
where.push('status > 0');
where.push('(end_time < :now or is_full > 0)');
where.push('(status > 1 or end_time < :now or is_full > 0)');
break;
default:
where.push('status = 1 and start_time <= :now and end_time >= :now and is_full = 0');
... ...