| | |
| | | icon.content = iconContent; |
| | | icon.type = type; |
| | | icon.groups = groups; |
| | | icon.plModifyUser = WebUtil.getCurrentUserId(); |
| | | updateList.add(icon); |
| | | }else{ |
| | | PLIcon icon = new PLIcon(); |
| | |
| | | icon.content = iconContent; |
| | | icon.type = type; |
| | | icon.groups = groups; |
| | | icon.plCreateUser = WebUtil.getCurrentUserId(); |
| | | addList.add(icon); |
| | | } |
| | | } |
| | |
| | | plIcon.content = iconContent; |
| | | plIcon.type = iconDTO.getType(); |
| | | plIcon.groups = iconDTO.getGroups(); |
| | | |
| | | plIcon.plCreateUser = WebUtil.getCurrentUserId(); |
| | | plIcon.plModifyUser = WebUtil.getCurrentUserId(); |
| | | try { |
| | | PortalServicePrx portalServicePrx = platformClientUtil.getPortalService(); |
| | | portalServicePrx.savePLIcon(plIcon); |
| | |
| | | plIcon.content = iconContent; |
| | | plIcon.type = iconDTO.getType(); |
| | | plIcon.groups = iconDTO.getGroups(); |
| | | plIcon.plCreateUser = iconDTO.getPlCreateUser(); |
| | | plIcon.plCreateTime = iconDTO.getPlCreateTime(); |
| | | plIcon.plModifyUser = WebUtil.getCurrentUserId(); |
| | | portalServicePrx.updatePLIcon(plIcon); |
| | | } catch (Exception e) { |
| | | throw new RuntimeException(e); |
| | |
| | | vo.setContent(icon.content); |
| | | vo.setType(icon.type); |
| | | vo.setGroups(icon.groups); |
| | | vo.setPlCreateTime(icon.plCreateTime); |
| | | vo.setPlCreateUser(icon.plCreateUser); |
| | | vo.setPlModifyTime(icon.plModifyTime); |
| | | vo.setPlModifyUser(icon.plModifyUser); |
| | | String[] nameArr = icon.name.split(":"); |
| | | if(nameArr.length > 1){ |
| | | vo.setLable(nameArr[0]); |