String[] userGroupIds = userGroups.trim().split(",");
for(String id : userGroupIds){
String[] attr = id.split("-");
if(attr.length == 2){
int userGroupId = Integer.parseInt(attr[1]);
UserGroup temp = serviceFacade.retrieve(UserGroup.class, userGroupId);
if(temp != null){
model.addUserGroup(temp);
LOG.debug("用户组 " + userGroupId + " 解析成功");
}
}