yujian
2020-06-29 ec60e757d358636dcac1589c44a66f3e276fe58c
fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
@@ -84,9 +84,8 @@
   }
   @Override
   public List<BannerVO> queryByBannerID(long start, int count, Long bannerId) throws SwiperPictureException {
      List<SwiperPicture> list = swiperPictureMapper.queryByBannerID(start, count, bannerId);
      return transformVO(list);
   public List<SwiperPicture> queryByBannerID(long start, int count, Long bannerId) throws SwiperPictureException {
      return swiperPictureMapper.queryByBannerID(start, count, bannerId);
   }
   @Override
@@ -107,7 +106,7 @@
      }
      String params = record.getParams();
      if (params == null || params.trim().length() == 0 || "null".equalsIgnoreCase(params)) {
      if (params == null || params.trim().length() == 0 || "null".equalsIgnoreCase(params) || "\"null\"".equalsIgnoreCase(params)) {
         record.setParams(null);
      } else if (!StringUtil.isJson(params)) {
         throw new SwiperPictureException(1, "跳转参数非JSON格式");
@@ -115,6 +114,17 @@
         record.setParams(params.trim());
      }
      String title = record.getTitle();
      if (!StringUtil.isNullOrEmpty(title) && ("null".equalsIgnoreCase(title) || "\"null\"".equalsIgnoreCase(title))) {
         record.setTitle(null);
      }
      String desc = record.getDesc();
      if (!StringUtil.isNullOrEmpty(desc) && ("null".equalsIgnoreCase(desc) || "\"null\"".equalsIgnoreCase(desc))) {
         record.setDesc(null);
      }
      if (!StringUtil.isNullOrEmpty(jumpType)) {
         List<JumpDetailV2> listByType = jumpDetailV2Service.listByType(jumpType);
         if (listByType != null && listByType.size() > 0) {