Authored by 陈峰

Merge branch 'feature/zerobuy' into 'master'

fix list group

fix end list

See merge request !49
@@ -147,7 +147,7 @@ module.exports = class extends global.yoho.BaseModel { @@ -147,7 +147,7 @@ module.exports = class extends global.yoho.BaseModel {
147 break; 147 break;
148 case 2: 148 case 2:
149 where.push('status > 0'); 149 where.push('status > 0');
150 - where.push('(end_time < :now or is_full > 0)'); 150 + where.push('(status > 1 or end_time < :now or is_full > 0)');
151 break; 151 break;
152 default: 152 default:
153 where.push('status = 1 and start_time <= :now and end_time >= :now and is_full = 0'); 153 where.push('status = 1 and start_time <= :now and end_time >= :now and is_full = 0');