| | |
| | | } |
| | | |
| | | @Override |
| | | public void saveObject(MultipartFile file, SwiperPicture record, String jumpType, CommonShareInfo shareInfo) |
| | | public void saveObject(MultipartFile file, SwiperPicture record, String jumpType, CommonShareInfo shareInfo,SystemEnum system) |
| | | throws SwiperPictureException, Exception { |
| | | if (record == null) { |
| | | throw new SwiperPictureException(1, "参数不能为空"); |
| | |
| | | |
| | | |
| | | if (!StringUtil.isNullOrEmpty(jumpType)) { |
| | | List<JumpDetailV2> listByType = jumpDetailV2Service.listByType(jumpType); |
| | | List<JumpDetailV2> listByType = jumpDetailV2Service.listByType(jumpType,system); |
| | | if (listByType != null && listByType.size() > 0) { |
| | | record.setJumpDetail(listByType.get(0)); |
| | | } |
| | |
| | | |
| | | bannerVO.setComment(info.getComment()); |
| | | bannerVO.setParams(params.toString()); |
| | | bannerVO.setJumpDetail(jumpDetailV2Service.getByTypeCache("web")); |
| | | bannerVO.setJumpDetail(jumpDetailV2Service.getByTypeCache("web",system)); |
| | | } |
| | | listVo.add(bannerVO); |
| | | } |