| | |
| | | @Override |
| | | public MgtPopGetVo getMgtPop(Long popId){ |
| | | Pop pop = this.getById(popId); |
| | | if(pop.getTargetType()==1){ |
| | | pop.setJumpType(null); |
| | | pop.setJumpId(null); |
| | | pop.setLinkType(null); |
| | | }else if(pop.getTargetType()==2){ |
| | | if(pop.getLinkType()==1){ |
| | | pop.setJumpType(null); |
| | | pop.setJumpId(null); |
| | | }else{ |
| | | pop.setLinkUrl(null); |
| | | } |
| | | }else if(pop.getTargetType()==3){ |
| | | pop.setLinkUrl(null); |
| | | pop.setLinkType(null); |
| | | pop.setJumpType(null); |
| | | pop.setJumpId(null); |
| | | } |
| | | MgtPopGetVo mgtPopGetVo = new MgtPopGetVo(); |
| | | BeanUtils.copyProperties(pop, mgtPopGetVo); |
| | | return mgtPopGetVo; |