qingwu 2 veckor sedan
förälder
incheckning
0f7d8f652e

+ 85 - 43
src/com/kingdee/eas/custom/recuritment/task/RecuritmentFacadeControllerBean.java

@@ -88,7 +88,7 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     resumeInfo = new ResumeBaseRecInfo();
                     resumeInfo.put("applyId", applyId);
                     resumeInfo.put("candidateId", candidateId);
-                } else if (!"00001".equals(resumeInfo.getResumeState().getNumber())) {
+                } else if (!"0001".equals(resumeInfo.getResumeState().getNumber())) {
                     continue;
                 }
                 //通过申请ID获取招聘需求
@@ -571,11 +571,15 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
         try {
             IWorkingExp iWorkingExp = WorkingExpFactory.getLocalInstance(ctx);
             WorkingExpCollection workingExpColl = iWorkingExp.getWorkingExpCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            WorkingExpInfo workingExpInfo = workingExpColl.isEmpty() ? new WorkingExpInfo() : workingExpColl.get(0);
-            //简历基本信息
-            workingExpInfo.setResumeBase(resumeBaseRecInfo);
+            if (!workingExpColl.isEmpty()) {
+                iWorkingExp.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             for (int i = 0; i < workExperience.size(); i++) {
                 JSONArray array = workExperience.getJSONArray(i);
+                WorkingExpInfo workingExpInfo = new WorkingExpInfo();
+                //简历基本信息
+                workingExpInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
@@ -640,8 +644,9 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     if ("JobArea".equals(name)) {
                         workingExpInfo.setUnitAddress(text);
                     }
-                    iWorkingExp.save(workingExpInfo);
                 }
+                iWorkingExp.save(workingExpInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-工作经历保存失败!" + e.getMessage());
@@ -658,18 +663,22 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
         try {
             IEducationExpREC iEducationExpREC = EducationExpRECFactory.getLocalInstance(ctx);
             EducationExpRECCollection educationExpRECCollection = iEducationExpREC.getEducationExpRECCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            EducationExpRECInfo educationExpRECInfo = educationExpRECCollection.isEmpty() ? new EducationExpRECInfo() : educationExpRECCollection.get(0);
+            if (!educationExpRECCollection.isEmpty()) {
+                iEducationExpREC.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
             //学历
             IDiploma iDiploma = DiplomaFactory.getLocalInstance(ctx);
             //学位
             IDegree iDegree = DegreeFactory.getLocalInstance(ctx);
-            //简历基本信息
-            educationExpRECInfo.setResumeBase(resumeBaseRecInfo);
             //学院类型
             Map<String, String> bchoolTypeMap = InitialValueUtils.getBchoolTypeMap();
             for (int i = 0; i < education.size(); i++) {
                 JSONArray array = education.getJSONArray(i);
+                EducationExpRECInfo educationExpRECInfo = new EducationExpRECInfo();
+                //简历基本信息
+                educationExpRECInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
+
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
                     String value = data.getString("value");
@@ -713,8 +722,9 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                             educationExpRECInfo.setSchoolType(SchoolTypeEnum.getEnum(bchoolTypeMap.get(value)));
                         }
                     }
-                    iEducationExpREC.save(educationExpRECInfo);
                 }
+                iEducationExpREC.save(educationExpRECInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-教育经历保存失败!" + e.getMessage());
@@ -734,11 +744,15 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             IResumeRewardPunish iResumeRewardPunish = ResumeRewardPunishFactory.getLocalInstance(ctx);
             ResumeRewardPunishCollection ResumeRewardPunishCollection =
                     iResumeRewardPunish.getResumeRewardPunishCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            ResumeRewardPunishInfo ResumeRewardPunishInfo = ResumeRewardPunishCollection.isEmpty() ? new ResumeRewardPunishInfo() : ResumeRewardPunishCollection.get(0);
-            //简历基本信息
-            ResumeRewardPunishInfo.setResumeBase(resumeBaseRecInfo);
+            if (!ResumeRewardPunishCollection.isEmpty()) {
+                iResumeRewardPunish.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             for (int i = 0; i < awards.size(); i++) {
                 JSONArray array = awards.getJSONArray(i);
+                ResumeRewardPunishInfo ResumeRewardPunishInfo = new ResumeRewardPunishInfo();
+                //简历基本信息
+                ResumeRewardPunishInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
@@ -757,8 +771,9 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     if ("AwardDescription".equals(name)) {
                         ResumeRewardPunishInfo.setDescription(text);
                     }
-                    iResumeRewardPunish.save(ResumeRewardPunishInfo);
                 }
+                iResumeRewardPunish.save(ResumeRewardPunishInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-获奖经历保存失败!" + e.getMessage());
@@ -777,12 +792,17 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             IProjectExp iProjectExp = ProjectExpFactory.getLocalInstance(ctx);
             ProjectExpCollection ProjectExpCollection =
                     iProjectExp.getProjectExpCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            ProjectExpInfo ProjectExpInfo = ProjectExpCollection.isEmpty() ? new ProjectExpInfo() : ProjectExpCollection.get(0);
-            //简历基本信息
-            ProjectExpInfo.setResumeBase(resumeBaseRecInfo);
+            if (!ProjectExpCollection.isEmpty()) {
+                iProjectExp.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             for (int i = 0; i < project.size(); i++) {
                 JSONArray array = project.getJSONArray(i);
+                ProjectExpInfo ProjectExpInfo = new ProjectExpInfo();
+                //简历基本信息
+                ProjectExpInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
+
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
                     String value = data.getString("value");
@@ -806,8 +826,9 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     if ("ProjectInfo".equals(name)) {
                         ProjectExpInfo.setProjectDescription(text);
                     }
-                    iProjectExp.save(ProjectExpInfo);
                 }
+                iProjectExp.save(ProjectExpInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-项目经历保存失败!" + e.getMessage());
@@ -826,11 +847,15 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             ITrainingExp iTrainingExp = TrainingExpFactory.getLocalInstance(ctx);
             TrainingExpCollection TrainingExpCollection =
                     iTrainingExp.getTrainingExpCollection("where resumeBaseInfo = '" + resumeBaseRecInfo.getId().toString() + "'");
-            TrainingExpInfo TrainingExpInfo = TrainingExpCollection.isEmpty() ? new TrainingExpInfo() : TrainingExpCollection.get(0);
-            //简历基本信息
-            TrainingExpInfo.setResumeBaseInfo(resumeBaseRecInfo);
+            if (!TrainingExpCollection.isEmpty()) {
+                iTrainingExp.delete("where resumeBaseInfo = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             for (int i = 0; i < train.size(); i++) {
                 JSONArray array = train.getJSONArray(i);
+                TrainingExpInfo TrainingExpInfo = new TrainingExpInfo();
+                //简历基本信息
+                TrainingExpInfo.setResumeBaseInfo(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
@@ -855,8 +880,9 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     if ("Description".equals(name)) {
                         TrainingExpInfo.setCourseDescription(text);
                     }
-                    iTrainingExp.save(TrainingExpInfo);
                 }
+                iTrainingExp.save(TrainingExpInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-培训经历保存失败!" + e.getMessage());
@@ -877,34 +903,40 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             ICredential iCredential = CredentialFactory.getLocalInstance(ctx);
             CredentialCollection CredentialCollection =
                     iCredential.getCredentialCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            CredentialInfo CredentialInfo = CredentialCollection.isEmpty() ? new CredentialInfo() : CredentialCollection.get(0);
-            //简历基本信息
-            CredentialInfo.setResumeBase(resumeBaseRecInfo);
+            if (!CredentialCollection.isEmpty()) {
+                iCredential.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             for (int i = 0; i < certificate.size(); i++) {
                 JSONArray array = certificate.getJSONArray(i);
+                CredentialInfo credentialInfo = new CredentialInfo();
+                //简历基本信息
+                credentialInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
                     JSONObject data = array.getJSONObject(j);
+
                     String name = data.getString("name");
                     String value = data.getString("value");
                     String text = data.getString("text");
                     //date	证书发放日期
                     if ("ObtainDate".equals(name)) {
-                        CredentialInfo.setDate(DateTimeUtils.parseDate(text, "yyyy/MM"));
+                        credentialInfo.setDate(DateTimeUtils.parseDate(text, "yyyy/MM"));
                     }
                     //credentialName	证书名称
                     if ("CertificateName".equals(name)) {
-                        CredentialInfo.setCredentialName(text);
+                        credentialInfo.setCredentialName(text);
                     }
                     //issuer	证书发布机构
                     if ("Authority".equals(name)) {
-                        CredentialInfo.setIssuer(text);
+                        credentialInfo.setIssuer(text);
                     }
                     //grade	证书成绩
                     if ("Score".equals(name)) {
-                        CredentialInfo.setGrade(text);
+                        credentialInfo.setGrade(text);
                     }
                 }
-                iCredential.save(CredentialInfo);
+                iCredential.save(credentialInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-获得证书保存失败!" + e.getMessage());
@@ -923,13 +955,17 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             ILanguageAbility iLanguageAbility = LanguageAbilityFactory.getLocalInstance(ctx);
             LanguageAbilityCollection LanguageAbilityCollection =
                     iLanguageAbility.getLanguageAbilityCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            LanguageAbilityInfo LanguageAbilityInfo = LanguageAbilityCollection.isEmpty() ? new LanguageAbilityInfo() : LanguageAbilityCollection.get(0);
-            //简历基本信息
-            LanguageAbilityInfo.setResumeBase(resumeBaseRecInfo);
+            if (!LanguageAbilityCollection.isEmpty()) {
+                iLanguageAbility.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
+
             //熟练度
             Map<String, String> proficiencyMap = InitialValueUtils.getProficiencyMap();
             for (int i = 0; i < lang.size(); i++) {
                 JSONArray array = lang.getJSONArray(i);
+                LanguageAbilityInfo languageAbilityInfo = new LanguageAbilityInfo();
+                //简历基本信息
+                languageAbilityInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
@@ -938,23 +974,24 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
                     //listeningSpeaking	听说
                     if ("ListeningSpeakingAbility".equals(name)) {
                         if (proficiencyMap.containsKey(value)) {
-                            LanguageAbilityInfo.setListeningSpeaking(ProficiencyEnum.getEnum(proficiencyMap.get(value)));
+                            languageAbilityInfo.setListeningSpeaking(ProficiencyEnum.getEnum(proficiencyMap.get(value)));
                         }
                     }
                     //readingWriting	读写
                     if ("ReadingWritingAbility".equals(name)) {
-                        LanguageAbilityInfo.setReadingWriting(ProficiencyEnum.getEnum(proficiencyMap.get(value)));
+                        languageAbilityInfo.setReadingWriting(ProficiencyEnum.getEnum(proficiencyMap.get(value)));
                     }
                     //language	语言
                     if ("LanguageType".equals(name)) {
-                        LanguageAbilityInfo.setLanguage(text);
+                        languageAbilityInfo.setLanguage(text);
                     }
                     //lv	语言等级
                     if ("LanguageLevel".equals(name)) {
-                        LanguageAbilityInfo.setLv(text);
+                        languageAbilityInfo.setLv(text);
                     }
                 }
-                iLanguageAbility.save(LanguageAbilityInfo);
+                iLanguageAbility.save(languageAbilityInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-语言能力保存失败!" + e.getMessage());
@@ -972,26 +1009,31 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
             IProfessionalSkills iProfessionalSkills = ProfessionalSkillsFactory.getLocalInstance(ctx);
             ProfessionalSkillsCollection ProfessionalSkillsCollection =
                     iProfessionalSkills.getProfessionalSkillsCollection("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
-            ProfessionalSkillsInfo ProfessionalSkillsInfo = ProfessionalSkillsCollection.isEmpty() ? new ProfessionalSkillsInfo() : ProfessionalSkillsCollection.get(0);
-            //简历基本信息
-            ProfessionalSkillsInfo.setResumeBase(resumeBaseRecInfo);
+            if (!ProfessionalSkillsCollection.isEmpty()) {
+                iProfessionalSkills.delete("where resumeBase = '" + resumeBaseRecInfo.getId().toString() + "'");
+            }
             for (int i = 0; i < skill.size(); i++) {
                 JSONArray array = skill.getJSONArray(i);
+                ProfessionalSkillsInfo professionalSkillsInfo = new ProfessionalSkillsInfo();
+                //简历基本信息
+                professionalSkillsInfo.setResumeBase(resumeBaseRecInfo);
                 for (int j = 0; j < array.size(); j++) {
+
                     JSONObject data = array.getJSONObject(j);
                     String name = data.getString("name");
                     String value = data.getString("value");
                     String text = data.getString("text");
                     //skillName	技能名称
                     if ("SkillName".equals(name)) {
-                        ProfessionalSkillsInfo.setSkillName(text);
+                        professionalSkillsInfo.setSkillName(text);
                     }
                     //skillDescription	技能描述
                     if ("SkillDescription".equals(name)) {
-                        ProfessionalSkillsInfo.setSkillDescription(text);
+                        professionalSkillsInfo.setSkillDescription(text);
                     }
                 }
-                iProfessionalSkills.save(ProfessionalSkillsInfo);
+                iProfessionalSkills.save(professionalSkillsInfo);
+
             }
         } catch (Exception e) {
             logger.error("简历-专业技能保存失败!" + e.getMessage());

+ 1 - 8
websrc/com/kingdee/eas/custom/recuritment/handler/ApplicantBeisenListHandler.java

@@ -6,7 +6,6 @@ import com.kingdee.shr.base.syssetting.context.SHRContext;
 import com.kingdee.shr.base.syssetting.exception.SHRWebException;
 import com.kingdee.shr.base.syssetting.exception.ShrWebBizException;
 import com.kingdee.shr.base.syssetting.web.handler.ListHandler;
-import com.taobao.api.internal.util.StringUtils;
 import org.springframework.ui.ModelMap;
 
 import javax.servlet.http.HttpServletRequest;
@@ -28,13 +27,7 @@ public class ApplicantBeisenListHandler extends ListHandler {
      */
     public void syncBeisenResumeAction(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) throws SHRWebException {
         Context ctx = SHRContext.getInstance().getContext();
-        String billId = this.getBillId(request);
-        if (StringUtils.isEmpty(billId)) {
-            throw new ShrWebBizException("单据Id不能为空!!");
-        }
-        if (billId.split(",").length > 1) {
-            throw new ShrWebBizException("只能选中单行!!");
-        }
+        String billId = getBillId(request);
         try {
             RecuritmentFacadeFactory.getLocalInstance(ctx).syncBeisenResume(billId);
         } catch (Exception e) {

+ 6 - 68
websrc/com/kingdee/eas/custom/recuritment/service/SaveBeisenApplyIdService.java

@@ -14,6 +14,7 @@ import com.kingdee.eas.custom.recuritment.ApplicantBeisenFactory;
 import com.kingdee.eas.custom.recuritment.ApplicantBeisenInfo;
 import com.kingdee.eas.custom.recuritment.IApplicantBeisen;
 import com.kingdee.eas.custom.recuritment.bizEnum.ExecuteResultEnum;
+import com.kingdee.shr.base.syssetting.exception.ShrWebBizException;
 import com.kingdee.util.StringUtils;
 import org.apache.log4j.Logger;
 
@@ -37,11 +38,12 @@ public class SaveBeisenApplyIdService implements IHRMsfService {
     @Override
     public Object process(Context ctx, Map<String, Object> map) throws EASBizException, BOSException {
         String array = (String) map.get("array");
+        logger.error("array--" + array);
         Map mapMsg = new HashMap();
         List listMsg = new ArrayList();
         if (StringUtils.isEmpty(array)) {
             mapMsg.put("code", 500);
-            mapMsg.put("message", "参数不能为空");
+            mapMsg.put("message", "参数不能为空");
             return mapMsg;
         }
         int errorSize = 0;
@@ -50,7 +52,6 @@ public class SaveBeisenApplyIdService implements IHRMsfService {
         JSONArray jsonArray = null;
         try {
             jsonArray = JSONArray.parseArray(array);
-            logger.error("array--" + array);
             logger.error("jsonArray--" + jsonArray);
         } catch (Exception e) {
             mapMsg.put("code", 500);
@@ -64,21 +65,17 @@ public class SaveBeisenApplyIdService implements IHRMsfService {
             for (int i = 0; i < jsonArray.size(); i++) {
                 JSONObject data = jsonArray.getJSONObject(i);
                 //申请id
-                applyId  = data.getString("applyId");
+                applyId = data.getString("applyId");
                 //应聘id
                 String candidateId = data.getString("candidateId");
                 if (StringUtils.isEmpty(applyId)) {
-                    listMsg.add(packageResult(applyId, 500, "", "申请id不能为空!"));
-                    ++errorSize;
-                    continue;
+                    throw new ShrWebBizException("申请id不能为空!");
                 }
                 IApplicantBeisen iApplicantBeisen = ApplicantBeisenFactory.getLocalInstance(ctx);
                 boolean isExists = iApplicantBeisen.exists("where applyId='" + applyId + "' ");
                 if (isExists) {
                     String errorMsg = MessageFormat.format(ERRORMSGTEMPLATE, applyId, candidateId);
-                    listMsg.add(packageResult("applyId", 500, "", errorMsg));
-                    ++errorSize;
-                    continue;
+                    throw new ShrWebBizException(errorMsg);
                 }
                 ApplicantBeisenInfo applicantBeisenInfo = new ApplicantBeisenInfo();
                 HROrgUnitInfo hrOrgUnitInfo = new HROrgUnitInfo();
@@ -90,7 +87,6 @@ public class SaveBeisenApplyIdService implements IHRMsfService {
                 IObjectPK addnew = iApplicantBeisen.addnew(applicantBeisenInfo);
                 listMsg.add(packageResult(applyId, 200, addnew.toString(), "成功"));
                 successSize++;
-
             }
         } catch (Exception e) {
             e.printStackTrace();
@@ -105,64 +101,6 @@ public class SaveBeisenApplyIdService implements IHRMsfService {
         return mapMsg;
 
     }
-    ///**
-    // * 通过申请ID获取需求管理
-    // *
-    // * @param applyId
-    // */
-    //public RecuritmentDemandInfo getRecuritmentByApplyId(Context ctx, String applyId) throws JSONException, IOException, URISyntaxException, BOSException, org.json.JSONException {
-    //    JSONObject pamas = new JSONObject();
-    //    JSONArray applyIds = new JSONArray();
-    //    applyIds.add(applyId);
-    //    pamas.put("applyIds", applyIds);
-    //    String jobId = "";
-    //    //根据申请ID获取申请信息
-    //    JSONObject applyJson = ItalentHelper.getApplyListByApplyId(pamas);
-    //    logger.error("applyJson--" + applyJson);
-    //    if (null != applyJson && applyJson.size() > 0 && "200".equals(applyJson.get("code") + "")) {
-    //        JSONArray data = applyJson.getJSONArray("data");
-    //        for (int i = 0; i < data.size(); i++) {
-    //            JSONObject applyData = data.getJSONObject(0);
-    //            //职位ID
-    //            jobId = applyData.getString("jobId");
-    //        }
-    //    } else {
-    //        logger.error("根据申请ID获取申请信息失败,原因:" + applyJson.get("message"));
-    //    }
-    //    logger.error("jobId--" + jobId);
-    //    //根据ID获取获取数据单条
-    //    JSONObject entity = ItalentHelper.getEntity(jobId);
-    //    logger.error("entity--" + entity);
-    //    JSONObject entityData = entity.getJSONObject("data");
-    //    //根据招聘需求ID获取招聘需求
-    //    JSONObject columns = entityData.getJSONObject("columns");
-    //    JSONObject recruit = columns.getJSONObject("RecruitRequirementIds");
-    //    String recruitRequirementId = recruit.getString("value");
-    //    JSONArray recruitRequirementIds = new JSONArray();
-    //    recruitRequirementIds.add(recruitRequirementId);
-    //    //根据招聘需求ID获取招聘需求
-    //    JSONObject requirements = ItalentHelper.getRequirements(recruitRequirementIds);
-    //    logger.error("requirements--" + requirements);
-    //    //一个职位可能关联多个招聘需求,建议校验需求状态,获取需求状态=进行中的招聘需求;
-    //    JSONArray data = requirements.getJSONArray("data");
-    //    //需求Id
-    //    String requirementId = "";
-    //    for (int i = 0; i < data.size(); i++) {
-    //        JSONObject requirementData = data.getJSONObject(i);
-    //        //需求状态 10=草稿,20=审批中,30=审批未通过,40=进行中,50=已关闭,60=已完成,70=已暂停,80=审批已终止
-    //        String requirementStatus = requirementData.getString("requirementStatus");
-    //        if ("40".equals(requirementStatus)) {
-    //            requirementId = requirementData.getString("requirementId");
-    //        }
-    //    }
-    //    //招聘需求
-    //    IRecuritmentDemand iRecuritmentDemand = RecuritmentDemandFactory.getLocalInstance(ctx);
-    //    //RecuritmentDemandCollection recuritmentDemandCollection = iRecuritmentDemand.getRecuritmentDemandCollection("where requirementId='" + requirementId + "");
-    //    //if (recuritmentDemandCollection.size() > 0) {
-    //    //    return recuritmentDemandCollection.get(0);
-    //    //}
-    //    return null;
-    //}
 
     /**
      * 封装结果