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

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

mingfu 1 месяц назад
Родитель
Сommit
081a5e9852

+ 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())) {
             currentUser.setLocation(user.getLocation());
             currentUser.setExamType(user.getExamType());
+            currentUser.setExamMajor(user.getExamMajor());
             currentUser.setEndYear(user.getEndYear());
         }
         if (updateUserName) {