Просмотр исходного кода

非卡用户可以自行修改专业类别

mingfu 1 месяц назад
Родитель
Сommit
081a5e9852
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      ie-admin/src/main/java/com/ruoyi/web/controller/front/UserController.java

+ 1 - 0
ie-admin/src/main/java/com/ruoyi/web/controller/front/UserController.java

@@ -432,6 +432,7 @@ public class UserController extends BaseController {
         if(!UserTypeEnum.isCard(user.getUserType())) {
         if(!UserTypeEnum.isCard(user.getUserType())) {
             currentUser.setLocation(user.getLocation());
             currentUser.setLocation(user.getLocation());
             currentUser.setExamType(user.getExamType());
             currentUser.setExamType(user.getExamType());
+            currentUser.setExamMajor(user.getExamMajor());
             currentUser.setEndYear(user.getEndYear());
             currentUser.setEndYear(user.getEndYear());
         }
         }
         if (updateUserName) {
         if (updateUserName) {