Merge remote-tracking branch 'origin/main'

This commit is contained in:
sh
2026-02-25 12:52:18 +08:00
2 changed files with 5 additions and 0 deletions

View File

@@ -367,6 +367,9 @@ public class CmsJobController extends BaseController
int totalNum = total != null ? total : 0; int totalNum = total != null ? total : 0;
System.out.println("岗位条数======================"+totalNum); System.out.println("岗位条数======================"+totalNum);
if (totalNum == 0) { 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 toAjax(jobService.insertJob(job));
} }
return AjaxResult.success("此岗位已存在!"); return AjaxResult.success("此岗位已存在!");

View File

@@ -151,6 +151,8 @@ public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> impl
company.getCompanyContactList().forEach(x -> { company.getCompanyContactList().forEach(x -> {
CompanyContact companyContact = new CompanyContact(); CompanyContact companyContact = new CompanyContact();
companyContact.setCompanyId(company.getCompanyId()); companyContact.setCompanyId(company.getCompanyId());
companyContact.setContactPerson(x.getContactPerson());
companyContact.setContactPersonPhone(x.getContactPersonPhone());
companyContactMapper.insert(companyContact); companyContactMapper.insert(companyContact);
}); });
} }