RECRUIT แก้ กรณี ภาษา ไม่มี ในระบบ ให้นำมาจาก JOBBOARD

parent f49affa1
...@@ -539,22 +539,33 @@ ...@@ -539,22 +539,33 @@
//DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage"); //DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage");
for (MapplicantSkill.Langskill langskill : simmapplicantwithgson.mapplicantSkill.langskill) { for (MapplicantSkill.Langskill langskill : simmapplicantwithgson.mapplicantSkill.langskill) {
hmlangskill.put("skillname"+langskill.langskilllist.id, langskill.langskilllist.name.tha); if(langskill.searchtext != null){
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("skillname"+langskillloop, langskill.searchtext);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); // hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak)); hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen)); hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++; }else{
}
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++;
}
}
} }
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
......
...@@ -539,22 +539,32 @@ ...@@ -539,22 +539,32 @@
//DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage"); //DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage");
for (McandidateSkill.Langskill langskill : simmcandidatewithgson.mcandidateSkill.langskill) { for (McandidateSkill.Langskill langskill : simmcandidatewithgson.mcandidateSkill.langskill) {
hmlangskill.put("skillname"+langskill.langskilllist.id, langskill.langskilllist.name.tha); if(langskill.searchtext != null){
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("skillname"+langskillloop, langskill.searchtext);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); // hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak)); hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen)); hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++; }else{
}
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++;
}
}
} }
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
......
...@@ -541,22 +541,32 @@ Not found data ...@@ -541,22 +541,32 @@ Not found data
//DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage"); //DbInquiry inqlangskill = new InitialInquiry(screen.getUProfile()).getDbInquiry("mlanguage");
for (Mdrop_resumeSkill.Langskill langskill : simmapplicantwithgson.mdrop_resumeSkill.langskill) { for (Mdrop_resumeSkill.Langskill langskill : simmapplicantwithgson.mdrop_resumeSkill.langskill) {
hmlangskill.put("skillname"+langskill.langskilllist.id, langskill.langskilllist.name.tha); if(langskill.searchtext != null){
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("skillname"+langskillloop, langskill.searchtext);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); // hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak)); hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen)); hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++; }else{
}
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.listen));
if(!(("CH,EN").indexOf(langskill.langskilllist.id) > -1)){
hmlangskill.put("skillname"+langskillloop, langskill.langskilllist.name.tha);
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskillloop,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskillloop,masterskilllevel.get(langskill.skill.write));
hmlangskill.put("speak"+langskillloop,masterskilllevel.get(langskill.skill.speak));
hmlangskill.put("listen"+langskillloop,masterskilllevel.get(langskill.skill.listen));
langskillloop++;
}
}
} }
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment