|
|
@@ -194,6 +194,9 @@ public class FrontStudentController extends BaseController {
|
|
|
SysUser user = sysUserService.selectUserById(SecurityUtils.getLoginUser().getUserId());
|
|
|
List<JSONObject> resultList = Lists.newArrayList();
|
|
|
List<Long> idList = Lists.newArrayList();
|
|
|
+ if(StringUtils.isBlank(user.getDirectedStudy())) {
|
|
|
+ return AjaxResult.success(resultList);
|
|
|
+ }
|
|
|
JSONArray.parse(user.getDirectedStudy()).stream().forEach(t -> {
|
|
|
JSONObject o = (JSONObject) t;
|
|
|
idList.add(o.getLong("majorId"));
|