Explorar o código

接口代码提交

xiao547607 %!s(int64=4) %!d(string=hai) anos
pai
achega
395a762f21

+ 2 - 0
common/src/main/java/com/jpsoft/employment/modules/job/entity/Recruitment.java

@@ -22,6 +22,8 @@ public class Recruitment {
     private String companyId;
     private String companyName;
     private String companyLogo;
+    private String companyScale;
+    private String companyScaleN;
         @ApiModelProperty(value = "标题")
     private String title;
         @ApiModelProperty(value = "招聘所属地区")

+ 4 - 0
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/ResumeApiController.java

@@ -18,6 +18,7 @@ import com.jpsoft.employment.modules.job.dto.ExpJsonDTO;
 import com.jpsoft.employment.modules.job.dto.WorkExpDTO;
 import com.jpsoft.employment.modules.job.entity.*;
 import com.jpsoft.employment.modules.job.service.*;
+import com.jpsoft.employment.modules.sys.entity.DataDictionary;
 import com.jpsoft.employment.modules.sys.service.DataDictionaryService;
 
 import io.swagger.annotations.Api;
@@ -319,6 +320,9 @@ public class ResumeApiController {
                 if(ci != null){
                     recruitment.setCompanyName(ci.getName());
                     recruitment.setCompanyLogo(ci.getLogo());
+                    recruitment.setCompanyScale(ci.getScale());
+                    String scaleN = dataDictionaryService.getName(ci.getScale());
+                    recruitment.setCompanyScaleN(scaleN);
                 }
                 City city = cityService.get(recruitment.getArea());
                 if(city != null){