获取用户当前培训班最低价格

This commit is contained in:
wuchunlei
2025-04-14 15:50:27 +08:00
parent a73500ee32
commit 2b57f006a5
10 changed files with 142 additions and 40 deletions

View File

@@ -165,19 +165,19 @@ public class CourseServiceImpl extends ServiceImpl<CourseDao, CourseEntity> impl
wrapper.rightJoin(CourseToMedicine.class,CourseToMedicine::getCourseId,CourseEntity::getId);
//开通的会员下的课程
List list = new ArrayList<>();//通过顶级标签获取最下层标签
if (userVipService.isMedicalVip()){
if (userVipService.isMedicalVip(ShiroUtils.getUId())){
userVipService.bottomLabel(1,list);
}
if (userVipService.isChineseWesternVip()){
if (userVipService.isChineseWesternVip(ShiroUtils.getUId())){
userVipService.bottomLabel(74,list);
}
if (userVipService.isAcupunctureVip()){
if (userVipService.isAcupunctureVip(ShiroUtils.getUId())){
userVipService.bottomLabel(2,list);
}
if (userVipService.istumorVip()){
if (userVipService.istumorVip(ShiroUtils.getUId())){
userVipService.bottomLabel(5,list);
}
if (userVipService.isPsycheVip()){
if (userVipService.isPsycheVip(ShiroUtils.getUId())){
userVipService.bottomLabel(4,list);
}
//购买的课程