浏览代码

新生导入bug修复

dzx 4 月之前
父节点
当前提交
bdc6b16e4a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/xjrsoft/module/student/service/impl/BaseNewStudentServiceImpl.java

+ 2 - 2
src/main/java/com/xjrsoft/module/student/service/impl/BaseNewStudentServiceImpl.java

@@ -164,9 +164,9 @@ public class BaseNewStudentServiceImpl extends MPJBaseServiceImpl<BaseNewStudent
                     setSource(dictMap.get(objectMap.get(7).toString()));
                     setStduyStatus(dictMap.get(objectMap.get(8).toString()));
                     setMobile(objectMap.get(9).toString());
-                    setFirstAmbition(objectMap.get(10).toString());
+                    setFirstAmbition(majorSetMap.get(objectMap.get(10).toString()).toString());
                     setFirstAmbitionId(majorSetMap.get(objectMap.get(10).toString()));
-                    setSecondAmbition(objectMap.get(11).toString());
+                    setSecondAmbition(majorSetMap.get(objectMap.get(11).toString()).toString());
                     setSecondAmbitionId(majorSetMap.get(objectMap.get(11).toString()));
                     setIsAdjust(YesOrNoEnum.getCode(objectMap.get(12).toString()));
                     if(objectMap.get(13) != null){