Browse Source

接口修改

wkyy 4 years ago
parent
commit
2f3ac4e52b

+ 1 - 1
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/RecruitmentApiController.java

@@ -208,7 +208,7 @@ public class RecruitmentApiController {
             String wageTypeN = dataDictionaryService.getName(recruitment.getWageType());
             recruitment.setWageTypeName(wageTypeN);
             //性别要求
-            String sexN = dataDictionaryService.getName(recruitment.getPositionSex());
+            String sexN = dataDictionaryService.findNameByCatalogNameAndValue("性别",recruitment.getPositionSex());
             recruitment.setPositionSexN(sexN);
             //工作年限
             String workYearN = dataDictionaryService.getName(recruitment.getWorkYear());