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

parent f49affa1
...@@ -539,7 +539,15 @@ ...@@ -539,7 +539,15 @@
//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("skillname"+langskillloop, langskill.searchtext);
// 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));
}else{
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
...@@ -556,6 +564,9 @@ ...@@ -556,6 +564,9 @@
langskillloop++; langskillloop++;
} }
} }
}
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
MyHashMap hmactivity = new MyHashMap(); MyHashMap hmactivity = new MyHashMap();
......
...@@ -539,7 +539,15 @@ ...@@ -539,7 +539,15 @@
//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("skillname"+langskillloop, langskill.searchtext);
// 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));
}else{
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
...@@ -556,6 +564,8 @@ ...@@ -556,6 +564,8 @@
langskillloop++; langskillloop++;
} }
} }
}
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
MyHashMap hmactivity = new MyHashMap(); MyHashMap hmactivity = new MyHashMap();
......
...@@ -541,7 +541,15 @@ Not found data ...@@ -541,7 +541,15 @@ 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("skillname"+langskillloop, langskill.searchtext);
// 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));
}else{
hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id); hmlangskill.put("id"+langskill.langskilllist.id, langskill.langskilllist.id);
hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading)); hmlangskill.put("reading"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.reading));
hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write)); hmlangskill.put("write"+langskill.langskilllist.id,masterskilllevel.get(langskill.skill.write));
...@@ -558,6 +566,8 @@ Not found data ...@@ -558,6 +566,8 @@ Not found data
langskillloop++; langskillloop++;
} }
} }
}
//----------------------------End Skill ---------------------------------------- //----------------------------End Skill ----------------------------------------
//----------------------------SETDATA Activity ------------------------------------ //----------------------------SETDATA Activity ------------------------------------
MyHashMap hmactivity = new MyHashMap(); MyHashMap hmactivity = new MyHashMap();
......
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