Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -86,7 +86,7 @@ public interface TableValueConstant {
|
|||||||
enum Status {
|
enum Status {
|
||||||
PENDING("pending", "待入账"),
|
PENDING("pending", "待入账"),
|
||||||
SUCCESS("success", "已入账"),
|
SUCCESS("success", "已入账"),
|
||||||
REFUND("REFUND", "已退款"),
|
REFUND("refund", "已退款"),
|
||||||
FAIL("fail", "失败");
|
FAIL("fail", "失败");
|
||||||
private final String code;
|
private final String code;
|
||||||
private final String msg;
|
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) {
|
if (currentLevel > 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -615,6 +616,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
|||||||
distributionFlowService.updateById(mkDistributionFlow);
|
distributionFlowService.updateById(mkDistributionFlow);
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
|
mkDistributionFlow.setDeliverTime(delayTime);
|
||||||
mkDistributionFlow.setStatus(TableValueConstant.DistributionFlow.Status.PENDING.getCode());
|
mkDistributionFlow.setStatus(TableValueConstant.DistributionFlow.Status.PENDING.getCode());
|
||||||
distributionFlowService.save(mkDistributionFlow);
|
distributionFlowService.save(mkDistributionFlow);
|
||||||
log.info("延时分销开始");
|
log.info("延时分销开始");
|
||||||
|
|||||||
Reference in New Issue
Block a user