|
@@ -427,16 +427,26 @@ public class StudentManagerServiceImpl extends MPJBaseServiceImpl<BaseStudentUse
|
|
|
baseStudent.setNation(dictionary.get(dataMaps.get(14).toString()));//民族
|
|
baseStudent.setNation(dictionary.get(dataMaps.get(14).toString()));//民族
|
|
|
}
|
|
}
|
|
|
if(dataMaps.get(15).toString() != null && "".equals(dataMaps.get(15).toString())){
|
|
if(dataMaps.get(15).toString() != null && "".equals(dataMaps.get(15).toString())){
|
|
|
- baseStudent.setNation(dictionary.get(dataMaps.get(15).toString()));//血型
|
|
|
|
|
|
|
+ baseStudent.setBloodType(dictionary.get(dataMaps.get(15).toString()));//血型
|
|
|
|
|
+ }
|
|
|
|
|
+ if(dataMaps.get(16).toString() != null && "".equals(dataMaps.get(16).toString())){
|
|
|
|
|
+ baseStudent.setHealth(dictionary.get(dataMaps.get(16).toString()));//健康状况
|
|
|
|
|
+ }
|
|
|
|
|
+ if(dataMaps.get(17).toString() != null && "".equals(dataMaps.get(17).toString())){
|
|
|
|
|
+ baseStudent.setMaritalState(dictionary.get(dataMaps.get(17).toString()));//婚姻状况
|
|
|
|
|
+ }
|
|
|
|
|
+ if(dataMaps.get(18).toString() != null && "".equals(dataMaps.get(18).toString())){
|
|
|
|
|
+ baseStudent.setPoliticalState(dictionary.get(dataMaps.get(18).toString()));//政治面貌
|
|
|
|
|
+ }
|
|
|
|
|
+ if(dataMaps.get(19).toString() != null && "".equals(dataMaps.get(19).toString())){
|
|
|
|
|
+ baseStudent.setPoliticalState(dictionary.get(dataMaps.get(19).toString()));//国籍地区
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
|
|
|
if(studentUserMap.containsKey(credentialNumber)){
|
|
if(studentUserMap.containsKey(credentialNumber)){
|
|
|
updateStudentUserList.add(user);
|
|
updateStudentUserList.add(user);
|
|
|
updateBaseStudentList.add(baseStudent);
|
|
updateBaseStudentList.add(baseStudent);
|
|
|
}else{
|
|
}else{
|
|
|
- user = new BaseStudentUser();
|
|
|
|
|
- baseStudent = new BaseStudent();
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return null;
|
|
return null;
|
|
@@ -449,7 +459,9 @@ public class StudentManagerServiceImpl extends MPJBaseServiceImpl<BaseStudentUse
|
|
|
private Map<String, String> initDictionary(){
|
|
private Map<String, String> initDictionary(){
|
|
|
List<String> codeList = new ArrayList<>();
|
|
List<String> codeList = new ArrayList<>();
|
|
|
codeList.add("credential_type");codeList.add("nation");
|
|
codeList.add("credential_type");codeList.add("nation");
|
|
|
- codeList.add("blood_type");
|
|
|
|
|
|
|
+ codeList.add("blood_type");codeList.add("health");
|
|
|
|
|
+ codeList.add("marital_state");codeList.add("political_state");
|
|
|
|
|
+ codeList.add("nationality");
|
|
|
List<DictionaryDetail> detailList = dictionarydetailMapper.selectJoinList(DictionaryDetail.class,
|
|
List<DictionaryDetail> detailList = dictionarydetailMapper.selectJoinList(DictionaryDetail.class,
|
|
|
new MPJLambdaWrapper<DictionaryDetail>()
|
|
new MPJLambdaWrapper<DictionaryDetail>()
|
|
|
.leftJoin(DictionaryItem.class, DictionaryItem::getId, DictionaryDetail::getItemId)
|
|
.leftJoin(DictionaryItem.class, DictionaryItem::getId, DictionaryDetail::getItemId)
|