提交 3c217e7b authored 作者: wangmenglong's avatar wangmenglong

阿里回调通知

上级 b258a698
......@@ -64,6 +64,9 @@ public class ApiAliController extends BaseController {
@Resource
SignRecordService signRecordService;
@Resource
IndustryService industryService;
/**
* @description: 获取openId
* @author: wangmenglong
......@@ -292,6 +295,16 @@ public class ApiAliController extends BaseController {
Objective objective = new Objective();
objective.setPersonId(person.getId());
objective.setBaseCode(person.getBaseCode());
objective.setCity(objectiveJson.getString("city_name"));
objective.setIndustryId(objectiveJson.getString("expect_job_code"));
Industry industry = industryService.getDetailsByName(objectiveJson.getString("expect_job_name"),"1");
if (industry!=null){
objective.setIndustryName(industry.getName());
}
objective.setSalaryMax(objectiveJson.getInteger("expect_salary_max"));
objective.setSalaryMin(objectiveJson.getInteger("expect_salary_min"));
objectives.add(objective);
}
objectiveService.createAli(objectives);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论