|
@@ -463,7 +463,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
// 招聘会不做权益和额度扣除
|
|
// 招聘会不做权益和额度扣除
|
|
if (!fair) {
|
|
if (!fair) {
|
|
// 如果发布职位的job.createTime超过了24小时则不可编辑,respVO.setEdit(false);
|
|
// 如果发布职位的job.createTime超过了24小时则不可编辑,respVO.setEdit(false);
|
|
- boolean isVip = enterpriseMapper.checkVip(job.getEnterpriseId());
|
|
|
|
|
|
+ boolean isVip = enterpriseMapper.checkVip(existingJob.getEnterpriseId());
|
|
if (!isVip && JobStatusEnum.ENABLE.getStatus().equals(existingJob.getStatus())
|
|
if (!isVip && JobStatusEnum.ENABLE.getStatus().equals(existingJob.getStatus())
|
|
&& ChronoUnit.HOURS.between(existingJob.getCreateTime(), LocalDateTime.now()) > 24) {
|
|
&& ChronoUnit.HOURS.between(existingJob.getCreateTime(), LocalDateTime.now()) > 24) {
|
|
throw exception(MDE_JOB_ADVERTISED_TIME_ERROR_24);
|
|
throw exception(MDE_JOB_ADVERTISED_TIME_ERROR_24);
|