Skip to content

Commit

Permalink
Merge pull request #487 from khoa-nd/master
Browse files Browse the repository at this point in the history
Merged
  • Loading branch information
khoa-nd committed Jan 14, 2016
2 parents 4dad2c5 + 41fb0e9 commit be5e09e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/main/java/com/techlooper/model/GetPromotedResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/
public class GetPromotedResponse {

private String jobTitle;

private Long totalJob;

private Double salaryMin;
Expand Down Expand Up @@ -46,4 +48,12 @@ public List<TopDemandedSkillResponse> getTopDemandedSkills() {
public void setTopDemandedSkills(List<TopDemandedSkillResponse> topDemandedSkills) {
this.topDemandedSkills = topDemandedSkills;
}

public String getJobTitle() {
return jobTitle;
}

public void setJobTitle(String jobTitle) {
this.jobTitle = jobTitle;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ public GetPromotedResponse getTopDemandedSkillsByJobTitle(GetPromotedRequest req
(skill1, skill2) -> (int) skill2.getCount() - (int) skill1.getCount()
).filter(skill -> skill.getSkillName().length() <= 40).limit(limit).collect(toList()));

response.setJobTitle(request.getJobTitle());
return response;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
</tr>
<tr>
<#if challengeType == "PUBLIC">
<#assign localizedChallengeType = "công cộng">
<#assign localizedChallengeType = "cộng đồng">
<#elseif challengeType == "INTERNAL">
<#assign localizedChallengeType = "nội bộ">
</#if>
Expand Down

0 comments on commit be5e09e

Please sign in to comment.