|
@@ -2422,7 +2422,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
|
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(sysUser.getOrganId());
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(sysUser.getOrganId());
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
- throw new BizException("所在城市暂不参与此活动");
|
|
|
|
|
|
+ throw new BizException("该分部未设置网管课价格");
|
|
}
|
|
}
|
|
BigDecimal oneMonthPrice = practiceGroupSellPrice.getSingleClassMinutesPrice();
|
|
BigDecimal oneMonthPrice = practiceGroupSellPrice.getSingleClassMinutesPrice();
|
|
BigDecimal amount = oneMonthPrice.multiply(new BigDecimal(practiceGroupBuyParams.getAllCourseNum()));
|
|
BigDecimal amount = oneMonthPrice.multiply(new BigDecimal(practiceGroupBuyParams.getAllCourseNum()));
|
|
@@ -2875,7 +2875,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
|
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(sysUser.getOrganId());
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(sysUser.getOrganId());
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
- throw new BizException("所在城市暂不参与此活动");
|
|
|
|
|
|
+ throw new BizException("该分部未设置网管课价格");
|
|
}
|
|
}
|
|
|
|
|
|
BigDecimal amount = PracticeGroupType.CARE_PACKAGE.equals(practiceGroupBuyParams.getType()) ? practiceGroupSellPrice.getCarePackagePrice() : practiceGroupSellPrice.getComeOnPackagePrice();
|
|
BigDecimal amount = PracticeGroupType.CARE_PACKAGE.equals(practiceGroupBuyParams.getType()) ? practiceGroupSellPrice.getCarePackagePrice() : practiceGroupSellPrice.getComeOnPackagePrice();
|
|
@@ -4211,7 +4211,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
}
|
|
}
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(practice.getOrganId());
|
|
PracticeGroupSellPrice practiceGroupSellPrice = practiceGroupSellPriceDao.get(practice.getOrganId());
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
if (Objects.isNull(practiceGroupSellPrice)) {
|
|
- throw new BizException("所在城市暂不参与此活动");
|
|
|
|
|
|
+ throw new BizException("该分部未设置网管课价格!");
|
|
}
|
|
}
|
|
Map<String, BigDecimal> results = new HashMap<>(3);
|
|
Map<String, BigDecimal> results = new HashMap<>(3);
|
|
|
|
|