|
@@ -22,6 +22,7 @@ import com.zswl.cloud.bdb.client.service.InviteReceiptsRoleFeignService;
|
|
|
import com.zswl.cloud.bdb.client.vo.InviteReceiptsRoleVo;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
+import org.bson.types.ObjectId;
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -93,7 +94,7 @@ public class WalletReceiptsService {
|
|
|
walletReceipts.setOutTradeNo(vipUserRecord.getPlanningId());
|
|
|
walletReceipts.setTotal(rulerVo.getBaseTotal());
|
|
|
walletReceipts.setEstimatedTime(DateUtils.nextMonthDayStartTime(rulerVo.getDay()));
|
|
|
- vipUserRecord.setId(UUID.randomUUID().toString().replaceAll("-", ""));
|
|
|
+ vipUserRecord.setId(new ObjectId().toHexString());
|
|
|
walletReceipts.setVipUserRecord(vipUserRecord);
|
|
|
walletReceipts.setRuler(rulerVo);
|
|
|
//邀请人钱包
|