queryExpandTo.setLeftJoinSql(leftJoinStr);
}
queryExpandTo.setWhereSql(whereSql);
tq.queryExpandTo(queryExpandTo);
List<TaskInstance> lts = tq.orderByTaskCreateTime().desc().listPagination(pageIndex, rowNum);
Long count = tq.count();
List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
Pagination page = new Pagination(pageIndex,rowNum);
page.setTotal(count.intValue());