1.修改微信抓取添加下架时间
2.修改企业保存联系人
This commit is contained in:
@@ -367,6 +367,9 @@ public class CmsJobController extends BaseController
|
||||
int totalNum = total != null ? total : 0;
|
||||
System.out.println("岗位条数======================"+totalNum);
|
||||
if (totalNum == 0) {
|
||||
if(StringUtils.isBlank(job.getDownTime())){
|
||||
job.setDownTime(DateUtils.getMonthThree(DateUtils.YYYY_MM_DD_HH_MM_SS));
|
||||
}
|
||||
return toAjax(jobService.insertJob(job));
|
||||
}
|
||||
return AjaxResult.success("此岗位已存在!");
|
||||
|
||||
@@ -151,6 +151,8 @@ public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> impl
|
||||
company.getCompanyContactList().forEach(x -> {
|
||||
CompanyContact companyContact = new CompanyContact();
|
||||
companyContact.setCompanyId(company.getCompanyId());
|
||||
companyContact.setContactPerson(x.getContactPerson());
|
||||
companyContact.setContactPersonPhone(x.getContactPersonPhone());
|
||||
companyContactMapper.insert(companyContact);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user