919293949596979899100101
query.orderByHistoricTaskInstanceEndTime(); } if(asc) { query.asc(); } else { query.desc(); } return query.list(); } @Override