将积分流水中sourceType改成varchar(256), 新建线下业务模块枚举
This commit is contained in:
@@ -12,12 +12,9 @@ import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.modules.api.request.AcquireBenefitPackageRequest;
|
||||
import org.springblade.modules.api.vo.CommonUserNoticeApiVO;
|
||||
import org.springblade.modules.api.vo.CommonUserNoticeDetailApiVO;
|
||||
import org.springblade.modules.api.vo.MarketDirectInfoApiVO;
|
||||
import org.springblade.modules.api.vo.*;
|
||||
import org.springblade.modules.common.service.ICommonUserNoticeService;
|
||||
import org.springblade.modules.market.manager.MarketUserManager;
|
||||
import org.springblade.modules.api.vo.MarketBenefitPackageVO;
|
||||
import org.springblade.modules.market.service.IMarketBenefitPackageService;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -96,8 +93,15 @@ public class MarketUserController {
|
||||
|
||||
|
||||
|
||||
@PostMapping("/acquire-benefit-package")
|
||||
@GetMapping("/benefit-package")
|
||||
@ApiOperationSupport(order = 8)
|
||||
@Operation(summary = "福利包列表")
|
||||
public R<List<MarketPackageTemplateVO>> benefitPackageList() {
|
||||
return R.data(marketUserManager.benefitPackageList());
|
||||
}
|
||||
|
||||
@PostMapping("/acquire-benefit-package")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@Operation(summary = "兑换福利包", description = "传入acquireBenefitPackageRequest")
|
||||
public R<Boolean> acquireBenefitPackage(@RequestBody AcquireBenefitPackageRequest request) {
|
||||
return R.status(marketUserManager.acquireBenefitPackage(request));
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
package org.springblade.modules.api.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 用户积分包信息表 视图实体类
|
||||
*
|
||||
* @author BladeX
|
||||
* @since 2026-02-05
|
||||
*/
|
||||
@Data
|
||||
public class MarketPackageTemplateVO implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
private String packageName;
|
||||
/**
|
||||
* 最大购买数量
|
||||
*/
|
||||
private Integer userLimit;
|
||||
/**
|
||||
* 全网最大兑换数量
|
||||
*/
|
||||
private Integer maxLimit;
|
||||
/**
|
||||
* 产出总天数
|
||||
*/
|
||||
private Integer dayLimit;
|
||||
/**
|
||||
* 总产出福利积分
|
||||
*/
|
||||
private BigDecimal benefitPointAmount;
|
||||
/**
|
||||
* 购买赠与福利值
|
||||
*/
|
||||
private BigDecimal benefitValueAmount;
|
||||
/**
|
||||
* 兑换包需要的福利积分
|
||||
*/
|
||||
private BigDecimal benefitPointPrice;
|
||||
/**
|
||||
* 兑换包需要的现金券
|
||||
*/
|
||||
private BigDecimal cashCouponPrice;
|
||||
/**
|
||||
* 已兑换数量
|
||||
*/
|
||||
private Integer exchangedQuantity;
|
||||
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package org.springblade.modules.common.eums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum BenefitPointSourceType {
|
||||
|
||||
/**
|
||||
* 福利包产出
|
||||
*/
|
||||
BENEFIT_PACK_OUTPUT(0),
|
||||
|
||||
/**
|
||||
* 福利包兑换
|
||||
*/
|
||||
BENEFIT_PACK_EXCHANGE(1),
|
||||
|
||||
/**
|
||||
* 用户直推
|
||||
*/
|
||||
USERS_PUSH_DIRECTLY(2),
|
||||
|
||||
/**
|
||||
* otc交易
|
||||
*/
|
||||
OTC_TRADING(3),
|
||||
|
||||
/**
|
||||
* 后台划拨
|
||||
*/
|
||||
BACKEND_TRANSFER(4)
|
||||
;
|
||||
|
||||
private final int code;
|
||||
|
||||
BenefitPointSourceType(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据 code 值获取对应的枚举项
|
||||
*
|
||||
* @param code 福利积分来源类型
|
||||
* @return 对应的 BenefitPointSourceType 枚举
|
||||
* @throws IllegalArgumentException 如果 code 无效
|
||||
*/
|
||||
public static BenefitPointSourceType fromCode(int code) {
|
||||
for (BenefitPointSourceType type : BenefitPointSourceType.values()) {
|
||||
if (type.code == code) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("Invalid notification type code: " + code);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
package org.springblade.modules.common.eums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum CashCouponSourceType {
|
||||
|
||||
/**
|
||||
* 商城抽奖
|
||||
*/
|
||||
MALL_LOTTERY(0),
|
||||
|
||||
/**
|
||||
* 福利包兑换
|
||||
*/
|
||||
BENEFIT_PACK_EXCHANGE(1);
|
||||
|
||||
private final int code;
|
||||
|
||||
CashCouponSourceType(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据 code 值获取对应的枚举项
|
||||
*
|
||||
* @param code 现金券来源类型
|
||||
* @return 对应的 CashCouponSourceType 枚举
|
||||
* @throws IllegalArgumentException 如果 code 无效
|
||||
*/
|
||||
public static CashCouponSourceType fromCode(int code) {
|
||||
for (CashCouponSourceType type : CashCouponSourceType.values()) {
|
||||
if (type.code == code) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("Invalid notification type code: " + code);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
package org.springblade.modules.common.eums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum UserPointSourceType {
|
||||
|
||||
/**
|
||||
* 商城订单
|
||||
*/
|
||||
MALL_ORDERS(0),
|
||||
|
||||
/**
|
||||
* 商城抽奖
|
||||
*/
|
||||
MALL_LOTTERY(1);
|
||||
|
||||
private final int code;
|
||||
|
||||
UserPointSourceType(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据 code 值获取对应的枚举项
|
||||
*
|
||||
* @param code 商城积分来源类型
|
||||
* @return 对应的 UserPointSourceType 枚举
|
||||
* @throws IllegalArgumentException 如果 code 无效
|
||||
*/
|
||||
public static UserPointSourceType fromCode(int code) {
|
||||
for (UserPointSourceType type : UserPointSourceType.values()) {
|
||||
if (type.code == code) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("Invalid notification type code: " + code);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@ package org.springblade.modules.common.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springblade.modules.common.eums.UserPointSourceType;
|
||||
import org.springblade.modules.common.eums.BusinessModule;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CommonUserPointApiDTO {
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-商城抽奖
|
||||
*/
|
||||
private UserPointSourceType sourceType;
|
||||
private BusinessModule sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class CommonUserPointLogEntity extends BaseEntity {
|
||||
@Schema(description = "上一笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 0-商城订单 1-商城抽奖
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "0-商城订单 1-商城抽奖")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -3,7 +3,11 @@ package org.springblade.modules.market.convert;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
import org.springblade.modules.api.vo.MarketBenefitPackageVO;
|
||||
import org.springblade.modules.api.vo.MarketPackageTemplateVO;
|
||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPackageEntity;
|
||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPackageTemplateEntity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface MarketUserMarketBenefitPackageConvert {
|
||||
@@ -12,4 +16,9 @@ public interface MarketUserMarketBenefitPackageConvert {
|
||||
|
||||
|
||||
MarketBenefitPackageVO convertMarketBenefitPackageVO(MarketBenefitPackageEntity userMarketBenefitPackageEntity);
|
||||
|
||||
|
||||
MarketPackageTemplateVO convertMarketPackageTemplateToVO(MarketBenefitPackageTemplateEntity entity);
|
||||
|
||||
List<MarketPackageTemplateVO> convertMarketPackageTemplateListToVO(List<MarketBenefitPackageTemplateEntity> list);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package org.springblade.modules.market.eums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
public enum MarketBusinessModule {
|
||||
|
||||
BENEFIT_PACKAGE("福利包", "benefit_package"),
|
||||
TRANSFER("转账", "transfer"),
|
||||
;
|
||||
|
||||
@Getter
|
||||
private final String displayName;
|
||||
|
||||
@Getter
|
||||
private final String code;
|
||||
|
||||
|
||||
// ========================
|
||||
// 根据 code 查找(忽略大小写)
|
||||
// ========================
|
||||
public static MarketBusinessModule fromCodeIgnoreCase(String code) {
|
||||
MarketBusinessModule module = fromCodeIgnoreCaseOrNull(code);
|
||||
if (module == null) {
|
||||
throw new IllegalArgumentException("未知的业务模块 code: " + code);
|
||||
}
|
||||
return module;
|
||||
}
|
||||
|
||||
public static MarketBusinessModule fromCodeIgnoreCaseOrNull(String code) {
|
||||
if (code == null || code.trim().isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
String normalized = code.trim().toLowerCase();
|
||||
for (MarketBusinessModule module : values()) {
|
||||
if (module.code.equals(normalized)) {
|
||||
return module;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -9,8 +9,9 @@ import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.sensitive.SensitiveUtil;
|
||||
import org.springblade.modules.api.request.AcquireBenefitPackageRequest;
|
||||
import org.springblade.modules.api.vo.MarketDirectInfoApiVO;
|
||||
import org.springblade.modules.common.eums.BenefitPointSourceType;
|
||||
import org.springblade.modules.common.eums.CashCouponSourceType;
|
||||
import org.springblade.modules.api.vo.MarketPackageTemplateVO;
|
||||
import org.springblade.modules.market.convert.MarketUserMarketBenefitPackageConvert;
|
||||
import org.springblade.modules.market.eums.MarketBusinessModule;
|
||||
import org.springblade.modules.market.pojo.dto.MarketBenefitPointApiDTO;
|
||||
import org.springblade.modules.market.pojo.dto.MarketCashCouponApiDTO;
|
||||
import org.springblade.modules.market.pojo.entity.*;
|
||||
@@ -199,7 +200,7 @@ public class MarketUserManager {
|
||||
.setUserId(userId)
|
||||
.setAmount(template.getBenefitPointPrice())
|
||||
.setFee(BigDecimal.ZERO)
|
||||
.setSourceType(BenefitPointSourceType.BENEFIT_PACK_EXCHANGE)
|
||||
.setSourceType(MarketBusinessModule.BENEFIT_PACKAGE)
|
||||
.setSourceId(template.getId())
|
||||
.setSourceDetail(JSONObject.toJSONString(template))
|
||||
.setRemark(remake);
|
||||
@@ -207,7 +208,7 @@ public class MarketUserManager {
|
||||
MarketCashCouponApiDTO deductCashCouponDto = new MarketCashCouponApiDTO()
|
||||
.setUserId(userId)
|
||||
.setAmount(template.getCashCouponPrice())
|
||||
.setSourceType(CashCouponSourceType.BENEFIT_PACK_EXCHANGE)
|
||||
.setSourceType(MarketBusinessModule.BENEFIT_PACKAGE)
|
||||
.setSourceId(template.getId())
|
||||
.setSourceDetail(JSONObject.toJSONString(template))
|
||||
.setRemark(remake);
|
||||
@@ -234,6 +235,11 @@ public class MarketUserManager {
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
public List<MarketPackageTemplateVO> benefitPackageList() {
|
||||
List<MarketBenefitPackageTemplateEntity> templateList = benefitPackageTemplateService.list();
|
||||
return MarketUserMarketBenefitPackageConvert.INSTANCE.convertMarketPackageTemplateListToVO(templateList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -244,4 +250,5 @@ public class MarketUserManager {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package org.springblade.modules.market.pojo.dto;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springblade.modules.common.eums.BenefitPointSourceType;
|
||||
import org.springblade.modules.market.eums.MarketBusinessModule;
|
||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPointLogEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
@@ -31,7 +31,7 @@ public class MarketBenefitPointApiDTO {
|
||||
/**
|
||||
* 来源类型 0-福利包产出 1-福利包兑换 2-用户直推 3-otc交易
|
||||
*/
|
||||
private BenefitPointSourceType sourceType;
|
||||
private MarketBusinessModule sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.springblade.modules.market.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springblade.modules.common.eums.CashCouponSourceType;
|
||||
import org.springblade.modules.market.eums.MarketBusinessModule;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class MarketCashCouponApiDTO {
|
||||
/**
|
||||
* 来源类型 0-福利包产出 1-福利包兑换 2-用户直推 3-otc交易
|
||||
*/
|
||||
private CashCouponSourceType sourceType;
|
||||
private MarketBusinessModule sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -50,10 +50,10 @@ public class MarketBenefitPointLogEntity extends BaseEntity {
|
||||
@Schema(description = "手续费")
|
||||
private BigDecimal fee;
|
||||
/**
|
||||
* 来源类型 0-福利包产出 1-福利包兑换 2-用户直推 3-otc交易 4-后台划拨
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-福利包产出 1-福利包兑换 2-用户直推 3-otc交易 4-后台划拨")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -46,10 +46,10 @@ public class MarketCashCouponLogEntity extends BaseEntity {
|
||||
@Schema(description = "上一笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城抽奖 1-福利包兑换
|
||||
*
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城抽奖 1-福利包兑换")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -40,10 +40,10 @@ public class MarketCommissionAdvertisingLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放广告佣金
|
||||
*
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放广告佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class MarketCommissionAgencyLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放极差代理佣金
|
||||
*
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放极差代理佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -40,10 +40,10 @@ public class MarketCommissionCoCreatorLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放联创佣金
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放联创佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class MarketCommissionDirectPushLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放直推佣金
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放直推佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class MarketCommissionGoodsCostLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源模块 0-商城订单
|
||||
* 来源模块
|
||||
*/
|
||||
@Schema(description = "来源模块 0-商城订单")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源模块")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -50,10 +50,10 @@ public class MarketCommissionOperationLogEntity extends BaseEntity {
|
||||
@Schema(description = "随机立减说明")
|
||||
private String cutDetail;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放运营佣金
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放运营佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class MarketCommissionServiceProviderLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放服务商佣金
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放服务商佣金")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -45,10 +45,10 @@ public class MarketCommissionUserPointLogEntity extends BaseEntity {
|
||||
@Schema(description = "上笔金额")
|
||||
private BigDecimal lastAmount;
|
||||
/**
|
||||
* 来源类型 0-商城订单 1-发放积分
|
||||
* 来源类型
|
||||
*/
|
||||
@Schema(description = "来源类型 0-商城订单 1-发放积分")
|
||||
private Integer sourceType;
|
||||
@Schema(description = "来源类型")
|
||||
private String sourceType;
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
|
||||
@@ -5,8 +5,8 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springblade.common.exception.OptimisticLockException;
|
||||
import org.springblade.common.utils.date.DateUtil;
|
||||
import org.springblade.modules.common.eums.BenefitPointSourceType;
|
||||
import org.springblade.modules.market.convert.MarketUserMarketInfoConvert;
|
||||
import org.springblade.modules.market.eums.MarketBusinessModule;
|
||||
import org.springblade.modules.market.pojo.dto.MarketBenefitPointApiDTO;
|
||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPointEntity;
|
||||
import org.springblade.modules.market.pojo.entity.MarketBenefitPointLogEntity;
|
||||
@@ -146,7 +146,7 @@ public class MarketBenefitPointServiceImpl extends BaseServiceImpl<MarketBenefit
|
||||
.setFee(BigDecimal.ZERO)
|
||||
.setLastAmount(lastFromAmount)
|
||||
.setType(2)
|
||||
.setSourceType(BenefitPointSourceType.BACKEND_TRANSFER.getCode())
|
||||
.setSourceType(MarketBusinessModule.TRANSFER.getCode())
|
||||
.setSourceId(from)
|
||||
.setIsComplete(1)
|
||||
.setSourceDetail("福利积分转让-扣款")
|
||||
@@ -160,7 +160,7 @@ public class MarketBenefitPointServiceImpl extends BaseServiceImpl<MarketBenefit
|
||||
.setLastAmount(lastToAmount)
|
||||
.setFee(BigDecimal.ZERO)
|
||||
.setType(1)
|
||||
.setSourceType(BenefitPointSourceType.BACKEND_TRANSFER.getCode())
|
||||
.setSourceType(MarketBusinessModule.TRANSFER.getCode())
|
||||
.setSourceId(from)
|
||||
.setIsComplete(1)
|
||||
.setSourceDetail("福利积分转让-到账")
|
||||
|
||||
Reference in New Issue
Block a user