|
@@ -27,7 +27,8 @@ module.exports = app => {
|
|
|
' FROM ' + this.tableName + ' p ' +
|
|
|
' LEFT JOIN ' + this.ctx.service.stage.tableName + ' s' +
|
|
|
' ON add_stage = s.id'
|
|
|
- + this.ctx.helper.whereSql(condition, 'p');
|
|
|
+ + this.ctx.helper.whereSql(condition, 'p') +
|
|
|
+ ' ORDER By p.porder ASC';
|
|
|
return await this.db.query(sql);
|
|
|
}
|
|
|
|