|
@@ -2769,7 +2769,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private void handleUserMirrorSHopOrderDon(OrderDon orderDon) {
|
|
|
|
|
|
|
+ private void handleUserMirrorSHopOrderDon(OrderDon orderDon) throws Exception {
|
|
|
Long orderId = orderDon.getId();
|
|
Long orderId = orderDon.getId();
|
|
|
UserMirrorShopOrderRelate userMirrorShopOrderRelate = userMirrorShopOrderRelateMapper.selectOne(Wrappers.lambdaQuery(UserMirrorShopOrderRelate.class)
|
|
UserMirrorShopOrderRelate userMirrorShopOrderRelate = userMirrorShopOrderRelateMapper.selectOne(Wrappers.lambdaQuery(UserMirrorShopOrderRelate.class)
|
|
|
.eq(UserMirrorShopOrderRelate::getOrderId, orderId)
|
|
.eq(UserMirrorShopOrderRelate::getOrderId, orderId)
|
|
@@ -2784,7 +2784,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
SysConfig config = sysConfigService.getOne(Wrappers.lambdaQuery(SysConfig.class)
|
|
SysConfig config = sysConfigService.getOne(Wrappers.lambdaQuery(SysConfig.class)
|
|
|
.eq(SysConfig::getSysKey, Constant.MIRROR_SHOP_COMMISSION)
|
|
.eq(SysConfig::getSysKey, Constant.MIRROR_SHOP_COMMISSION)
|
|
|
.last("limit 1"));
|
|
.last("limit 1"));
|
|
|
- UserMirrorShopDistributeConfigDto shopDistributeConfigDto = Jsons.parseObject(config, UserMirrorShopDistributeConfigDto.class);
|
|
|
|
|
|
|
+ UserMirrorShopDistributeConfigDto shopDistributeConfigDto = Jsons.parseObject(config.getSysValue(), UserMirrorShopDistributeConfigDto.class);
|
|
|
Integer consumeRate = shopDistributeConfigDto.getConsumeRate();
|
|
Integer consumeRate = shopDistributeConfigDto.getConsumeRate();
|
|
|
|
|
|
|
|
UserMirrorShopDistributeWaitingSendPoints waitingSendPoints = new UserMirrorShopDistributeWaitingSendPoints();
|
|
UserMirrorShopDistributeWaitingSendPoints waitingSendPoints = new UserMirrorShopDistributeWaitingSendPoints();
|