admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java
@@ -233,8 +233,10 @@
         List<ImgInfo> imgList = goodsEvaluate.getImgList();
         if (imgList != null && imgList.size() > 0) {
            for (ImgInfo imgInfo: imgList) {
               if (imgInfo.getType() == ImgEnum.img && !StringUtil.isNullOrEmpty(imgInfo.getUrl())) {
               if (!StringUtil.isNullOrEmpty(imgInfo.getUrl())  && StringUtil.isNullOrEmpty(picUrl)
                     && (imgInfo.getType() == ImgEnum.img || imgInfo.getType() == ImgEnum.activity)) {
                  picUrl = imgInfo.getUrl();
                  break;
               }
            }
         }
@@ -246,7 +248,7 @@
       
      
      // 定时时间
      if (StringUtil.isNullOrEmpty(record.getControlTime_str())) {
      if (!StringUtil.isNullOrEmpty(record.getControlTime_str())) {
         SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm");
         record.setControlTime(format.parse(record.getControlTime_str().replaceAll("T", " ")));
      }