api docs update and order list users by user_id

This commit is contained in:
John Woodlock
2012-05-28 14:07:44 +10:00
parent c14a46a167
commit 74a94a09bc
3 changed files with 29 additions and 29 deletions
@@ -58,7 +58,7 @@ public class AppUserReadPlatformServiceImpl implements AppUserReadPlatformServic
AppUserMapper mapper = new AppUserMapper(offices);
String sql = "select " + mapper.schema()
+ " where u.org_id = ? and u.office_id in (" + officeIdsList
+ ")";
+ ") order by u.id";
return this.jdbcTemplate.query(sql, mapper, new Object[] { currentUser
.getOrganisation().getId() });