|
@@ -1415,7 +1415,7 @@ public class MedicalViewApiController {
|
|
|
Map<String, String> zdUnitCodeMap = list.stream().collect(Collectors.toMap(ZdUnitCode::getCode, ZdUnitCode::getName));
|
|
|
if (zdEmpTitles != null && zdEmpTitles.size() > 0) {
|
|
|
titleMap = zdEmpTitles.stream().collect(Collectors.toMap(ZdEmpTitle::getCode, ZdEmpTitle::getName));
|
|
|
- titGradeMap = zdEmpTitles.stream().collect(Collectors.toMap(ZdEmpTitle::getCode, ZdEmpTitle::getTitGrade));
|
|
|
+ titGradeMap = zdEmpTitles.stream().collect(Collectors.toMap(ZdEmpTitle::getCode, zdEmpTitle-> zdEmpTitle.getTitGrade()==null?3:zdEmpTitle.getTitGrade()));
|
|
|
}
|
|
|
List<Employee> notDoctors = new ArrayList<>();
|
|
|
for (Employee employee : employees) {
|