|
@@ -113,7 +113,7 @@ public class UserPlanSubscriptionServiceImpl
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
- userPlanSubscription.setPlanType(subscribePlan.getMarketType());
|
|
|
|
|
|
+ userPlanSubscription.setPlanType(subscribePlan.getPlanType());
|
|
userPlanSubscription.setServiceMonth(subscribePlan.getServiceTime());
|
|
userPlanSubscription.setServiceMonth(subscribePlan.getServiceTime());
|
|
result = this.save(userPlanSubscription);
|
|
result = this.save(userPlanSubscription);
|
|
} else if (userPlanSubscription.getIsCustom() == 1) { // 是自定义套餐开启时间
|
|
} else if (userPlanSubscription.getIsCustom() == 1) { // 是自定义套餐开启时间
|
|
@@ -121,7 +121,7 @@ public class UserPlanSubscriptionServiceImpl
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
- userPlanSubscription.setPlanType(subscribePlan.getMarketType());
|
|
|
|
|
|
+ userPlanSubscription.setPlanType(subscribePlan.getPlanType());
|
|
DateTime today = cn.hutool.core.date.DateUtil.date();
|
|
DateTime today = cn.hutool.core.date.DateUtil.date();
|
|
long betweenTime =
|
|
long betweenTime =
|
|
cn.hutool.core.date.DateUtil.between(
|
|
cn.hutool.core.date.DateUtil.between(
|
|
@@ -161,7 +161,7 @@ public class UserPlanSubscriptionServiceImpl
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanName(subscribePlan.getPlanName());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanCode(subscribePlan.getPlanCode());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
userPlanSubscription.setPlanPrice(subscribePlan.getPrice());
|
|
- userPlanSubscription.setPlanType(subscribePlan.getMarketType());
|
|
|
|
|
|
+ userPlanSubscription.setPlanType(subscribePlan.getPlanType());
|
|
userPlanSubscription.setServiceMonth(subscribePlan.getServiceTime());
|
|
userPlanSubscription.setServiceMonth(subscribePlan.getServiceTime());
|
|
result = this.save(userPlanSubscription);
|
|
result = this.save(userPlanSubscription);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|