|
|
@@ -294,6 +294,7 @@ public class DistributePopularizeController {
|
|
|
}
|
|
|
Integer update = userMapper.subPoints(user.getId(), needSubPoints);
|
|
|
if (update == 1) {
|
|
|
+ distributeMoneyApply = Optional.ofNullable(distributeMoneyApply).orElse(new DistributeMoneyApply());
|
|
|
distributeMoneyApply.setUserId(userId);
|
|
|
distributeMoneyApply.setPoints(needSubPoints);
|
|
|
distributeMoneyApply.setMoney(needApplyMoney);
|