yangdamao 1 rok pred
rodič
commit
8db8b91f5f

+ 10 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/service/impl/UserSubscribeServiceImpl.java

@@ -2903,7 +2903,16 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
 
                 String keyValue = profile.getKeyValue();
                 applyExport.setSex(getUserProfileValue(keyValue, "sex"));
-                applyExport.setEducation(getUserProfileValue(keyValue, "education"));
+                String education = getUserProfileValue(keyValue, "education");
+                if(education.equals("小学")||education.equals("中学")||education.equals("高中")||education.equals("中职(含技工学校)")){
+                    applyExport.setEducation("中职(含技工学校)");
+                }
+                else if(education.equals("本科")||education.equals("硕士研究生")||education.equals("博士研究生")||education.equals("本科及以上")){
+                    applyExport.setEducation("本科及以上");
+                }
+                else{
+                    applyExport.setEducation("专科(含高职和技师学院)");
+                }
                 applyExport.setCompanyName(getUserProfileValue(keyValue, "work_unit"));
                 applyExport.setPostName(getUserProfileValue(keyValue, "apply_post"));
                 applyExport.setMajorName(getUserProfileValue(keyValue, "major"));