admin
2019-05-31 4ef5bf9e64a1eb32e18829c0146a94b3b702fb84
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserShareGoodsRecordServiceImpl.java
@@ -197,6 +197,28 @@
                     }
                  }
               }
               String shareType = shareRecord.getShareType();
               if (StringUtil.isNullOrEmpty(shareType)) {
                  shareRecord.setShareType(UserShareGoodsRecord.SHARETYPE_SINGLE);
               }
               BigDecimal totalMoney = shareRecord.getTotalMoney();
               if (totalMoney == null) {
                  shareRecord.setTotalMoney(new BigDecimal(0));
               }
            }
         } else {
            for (UserShareGoodsRecord shareRecord : list) {
               String shareType = shareRecord.getShareType();
               if (StringUtil.isNullOrEmpty(shareType)) {
                  shareRecord.setShareType(UserShareGoodsRecord.SHARETYPE_SINGLE);
               }
               BigDecimal totalMoney = shareRecord.getTotalMoney();
               if (totalMoney == null) {
                  shareRecord.setTotalMoney(new BigDecimal(0));
               }
            }
         }
      }
@@ -795,6 +817,9 @@
            }
         }
      }
      // 清理缓存
      redisManager.removeCommonString(shareKey);
   }
   /**