Browse Source

fix员工学历导出

Eric 1 year ago
parent
commit
8904b5d807

+ 0 - 12
mec-web/src/main/java/com/ym/mec/web/controller/ExportController.java

@@ -2339,18 +2339,6 @@ public class ExportController extends BaseController {
             }
         }
 
-        /*for (EmployeeInfo row : rows) {
-            if (StringUtils.isNotBlank(row.getEducationalBackground())) {
-                List<EmployeeInfo.EduBackground> eduBackgrounds = JSONArray.parseArray(row.getEducationalBackground(), EmployeeInfo.EduBackground.class);
-                if (!CollectionUtils.isEmpty(eduBackgrounds)) {
-                    row.setEducationalBackground(eduBackgrounds.stream()
-                        .map(o -> StringUtils.joinWith("-", o.getSchool(), o.getLevel(), o.getYear().substring(0,10)))
-                        .collect(Collectors.joining(",")));
-                }
-
-            }
-        }*/
-
         OutputStream outputStream = response.getOutputStream();
         try {
             String[] header = {"编号", "姓名", "手机号", "微信",