提交 123eb969 authored 作者: wml's avatar wml

增加招聘的状态

上级 406f22cb
...@@ -260,7 +260,8 @@ public class RecruitController extends BaseController { ...@@ -260,7 +260,8 @@ public class RecruitController extends BaseController {
recruit.setIndustryName(industryName); recruit.setIndustryName(industryName);
recruit.setIndustryCode(industryCode); recruit.setIndustryCode(industryCode);
recruit.setTimes(parseIntSafe(times, 1)); recruit.setTimes(parseIntSafe(times, 1));
recruit.setAddress(orgDetails.getProvince() + orgDetails.getCity() + orgDetails.getRegion() + orgDetails.getAddress()); // 地址:直接取模板“详细地址”列(为空时回退企业地址)
recruit.setAddress(StringUtils.isNotBlank(row.getAddress()) ? row.getAddress() : orgDetails.getAddress());
recruit.setName(row.getJobName()); recruit.setName(row.getJobName());
recruit.setDetails(row.getJobInfo()); recruit.setDetails(row.getJobInfo());
recruit.setOrgId(orgDetails.getId()); recruit.setOrgId(orgDetails.getId());
......
...@@ -5,7 +5,7 @@ import lombok.Data; ...@@ -5,7 +5,7 @@ import lombok.Data;
/** /**
* @ClassName : RecruitImportExcel * @ClassName : RecruitImportExcel
* @Description : 批量导入岗位(Excel),列顺序:企业名、企业信息、岗位名、岗位的信息、最低工资、最高工资 * @Description : 批量导入岗位(Excel),列顺序:企业名、企业信息、岗位名、岗位的信息、详细地址、最低工资、最高工资
* @Author : wml * @Author : wml
* @Date: 2026-09-21 * @Date: 2026-09-21
*/ */
...@@ -25,10 +25,13 @@ public class RecruitImportExcel { ...@@ -25,10 +25,13 @@ public class RecruitImportExcel {
@ExcelProperty(value = "岗位的信息", index = 3) @ExcelProperty(value = "岗位的信息", index = 3)
private String jobInfo; private String jobInfo;
@ExcelProperty(value = "最低工资", index = 4) @ExcelProperty(value = "详细地址", index = 4)
private String address;
@ExcelProperty(value = "最低工资", index = 5)
private String salaryMin; private String salaryMin;
@ExcelProperty(value = "最高工资", index = 5) @ExcelProperty(value = "最高工资", index = 6)
private String salaryMax; private String salaryMax;
} }
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论