generated from dxfeng/secondev-chapanda-feishu
职位发布-添加工作地址字段
This commit is contained in:
parent
00a5d271f4
commit
2074279d29
Binary file not shown.
|
|
@ -76,11 +76,15 @@ public class ModeBrowserCommonInfo {
|
|||
String xxdz = rs.getString("xxdz");
|
||||
// 区县浏览按钮类型:263
|
||||
String areaName = WeaBrowserUtil.getBrowserShowNames(user, 263, ssq);
|
||||
rs.writeLog("areaName===" + areaName);
|
||||
if (StringUtils.isNotBlank(areaName) && StringUtils.isNotBlank(xxdz)) {
|
||||
String[] split = areaName.split("/");
|
||||
if (split.length == 4) {
|
||||
areaName = split[1] + "-" + split[2] + "-" + split[3];
|
||||
placeName = areaName + "-" + xxdz;
|
||||
}else if(split.length == 3){
|
||||
areaName = split[0] + "-" + split[1] + "-" + split[2];
|
||||
placeName = areaName + "-" + xxdz;
|
||||
}
|
||||
} else {
|
||||
rs.writeLog("id=" + id + ",ssq=" + ssq + ",xxdz=" + xxdz);
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ public class RecruitPositionUtil {
|
|||
ResumeJobV2Dto resumeJobV2Dto = new ResumeJobV2Dto();
|
||||
if(StringUtils.isNotBlank(workPlaceShowName)){
|
||||
// TODO 设置工作地点
|
||||
resumeJobV2Dto.setJobArea(workPlaceShowName);
|
||||
}
|
||||
// (必填,默认社招)招聘类型 1:社招 2:校招 3:实习
|
||||
resumeJobV2Dto.setResumeType(resumeType);
|
||||
|
|
@ -227,16 +228,17 @@ public class RecruitPositionUtil {
|
|||
/*
|
||||
* 前程无忧必填
|
||||
*/
|
||||
// 发布城市
|
||||
// TODO 发布城市
|
||||
List<String> cityList = new ArrayList<>();
|
||||
String fbcs = Util.null2String(map.get("fbcs"));
|
||||
RecordSet rs = new RecordSet();
|
||||
rs.executeQuery("select cityname from hrmcity where id = ?", fbcs);
|
||||
if (rs.next()) {
|
||||
String cityName = rs.getString("cityname");
|
||||
cityName = Util.formatMultiLang(cityName, Util.null2String(user.getLanguage()));
|
||||
cityList.add(cityName);
|
||||
}
|
||||
resumeJobV2Dto.setFbcs(cityList);
|
||||
// TODO resumeJobV2Dto.setFbcs(cityList);
|
||||
// 所属行业
|
||||
String sshy = Util.null2String(map.get("szhy"));
|
||||
List<String> sshyList = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue