Browse Source

活动排课

zouxuan 4 years ago
parent
commit
f71e17b1f8

+ 11 - 0
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/VipGroupActivity.java

@@ -127,6 +127,9 @@ public class VipGroupActivity {
 	@ApiModelProperty(value = "是否删除")
 	private Boolean delFlag = false;
 
+	@ApiModelProperty(value = "是否可用")
+	private Boolean enable = false;
+
 	@ApiModelProperty(value = "线上课是否参与梯度奖励")
 	private Integer onlineClassJoinGradientRewards = 0;
 
@@ -451,6 +454,14 @@ public class VipGroupActivity {
 		this.delFlag = delFlag;
 	}
 
+	public Boolean getEnable() {
+		return enable;
+	}
+
+	public void setEnable(Boolean enable) {
+		this.enable = enable;
+	}
+
 	public Integer getOnlineClassJoinGradientRewards() {
 		return onlineClassJoinGradientRewards;
 	}

+ 9 - 0
mec-teacher/src/main/java/com/ym/mec/teacher/controller/TeacherPracticeGroupController.java

@@ -2,6 +2,7 @@ package com.ym.mec.teacher.controller;
 
 import com.ym.mec.auth.api.client.SysUserFeignService;
 import com.ym.mec.auth.api.entity.SysUser;
+import com.ym.mec.biz.dal.dao.PracticeGroupSellPriceDao;
 import com.ym.mec.biz.dal.dao.TeacherDao;
 import com.ym.mec.biz.dal.dto.PracticeGroupApplyBaseInfoDto;
 import com.ym.mec.biz.dal.dto.PracticeGroupApplyDto;
@@ -35,6 +36,14 @@ public class TeacherPracticeGroupController extends BaseController {
 	private SysUserFeignService sysUserFeignService;
 	@Autowired
 	private TeacherDao teacherDao;
+	@Autowired
+	private PracticeGroupSellPriceDao practiceGroupSellPriceDao;
+
+	@ApiOperation("获取网管课分部价格")
+	@RequestMapping("/queryPracticeGroupSellPrice")
+	public Object queryPracticeGroupSellPrice(Integer organId){
+		return succeed(practiceGroupSellPriceDao.get(organId));
+	}
 
 	@ApiOperation(value = "教师端网管课活动排课")
 	@PostMapping("/createPracticeGroup")