Procházet zdrojové kódy

发布岗位BUG修改

yanliming před 4 roky
rodič
revize
8b555d233d

+ 1 - 9
web/src/main/java/com/jpsoft/employment/modules/job/controller/RecruitmentController.java

@@ -94,16 +94,8 @@ public class RecruitmentController {
             recruitment.setReadingTimes(0);
             recruitment.setCollectionTimes(0);
             recruitment.setDeliveryTimes(0);
-            String zone = "";
             if(company!=null){
-                if(StringUtils.isNotEmpty(company.getArea())){
-                    JSONObject jsonObject = JSONObject.fromObject(company.getArea());
-                    if(jsonObject!=null&&jsonObject.size()>0){
-                        zone = jsonObject.get("zone").toString();
-                    }
-                }
-
-                recruitment.setArea(zone);
+                recruitment.setArea(company.getArea());
             }
 
             //是否面议