|
@@ -177,15 +177,7 @@ public class PracticeGroupManageController extends BaseController {
|
|
|
@RequestMapping("/queryPracticeGroupSellPrice")
|
|
|
@PreAuthorize("@pcs.hasPermissions('practiceGroupManage/queryPracticeGroupSellPrice')")
|
|
|
public Object queryPracticeGroupSellPrice(Integer organId){
|
|
|
- SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
- if (sysUser == null) {
|
|
|
- return failed("用户信息获取失败");
|
|
|
- }
|
|
|
- Teacher teacher = teacherDao.get(sysUser.getId());
|
|
|
- if(Objects.isNull(teacher)){
|
|
|
- return failed("请指定指导老师!");
|
|
|
- }
|
|
|
- return succeed(practiceGroupSellPriceDao.get(teacher.getTeacherOrganId()));
|
|
|
+ return succeed(practiceGroupSellPriceDao.get(organId));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "网管课申请")
|