UserInfo userInfo = getGroupInfo().getUserInfo();
String userIdField = userInfo.getUserIdField();
String userNameField = userInfo.getUserNameField();
String groupIdField = userInfo.getGroupIdField();
String sqlText = userInfo.getSqlText();
List<Map<String, Object>> dataObj = sqlCommand.queryForList("SELECT USERTABLE.* FROM (" + sqlText + ") USERTABLE where USERTABLE."
+ groupIdField + "=?", objectParamWhere);
List<UserTo> userTos = new ArrayList<UserTo>();
for (Map<String, Object> map : dataObj) {
UserTo userTo = new UserTo(StringUtil.getString(map.get(userIdField)), StringUtil.getString(map.get(userNameField)), map);
userTos.add(userTo);