Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -86,7 +86,7 @@ public interface TableValueConstant {
|
||||
enum Status {
|
||||
PENDING("pending", "待入账"),
|
||||
SUCCESS("success", "已入账"),
|
||||
REFUND("REFUND", "已退款"),
|
||||
REFUND("refund", "已退款"),
|
||||
FAIL("fail", "失败");
|
||||
private final String code;
|
||||
private final String msg;
|
||||
|
||||
@@ -539,7 +539,8 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||
}
|
||||
|
||||
|
||||
private void deepReward(ShopUser orderSourceShopUser, MkDistributionLevelConfig parentLevel, MkDistributionConfigVO config, MkDistributionUser currentDistributionUser, BigDecimal amount, Long sourceId, String type, String orderNo, Integer currentLevel) {
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
protected void deepReward(ShopUser orderSourceShopUser, MkDistributionLevelConfig parentLevel, MkDistributionConfigVO config, MkDistributionUser currentDistributionUser, BigDecimal amount, Long sourceId, String type, String orderNo, Integer currentLevel) {
|
||||
if (currentLevel > 2) {
|
||||
return;
|
||||
}
|
||||
@@ -615,6 +616,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||
distributionFlowService.updateById(mkDistributionFlow);
|
||||
}
|
||||
}else {
|
||||
mkDistributionFlow.setDeliverTime(delayTime);
|
||||
mkDistributionFlow.setStatus(TableValueConstant.DistributionFlow.Status.PENDING.getCode());
|
||||
distributionFlowService.save(mkDistributionFlow);
|
||||
log.info("延时分销开始");
|
||||
|
||||
Reference in New Issue
Block a user