publish
This commit is contained in:
@@ -34,6 +34,6 @@ public class AppReviewJob extends BaseEntity
|
|||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
@Excel(name = "浏览日期", width = 30, dateFormat = "yyyy-MM-dd")
|
@Excel(name = "浏览日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
@ApiModelProperty("浏览日期")
|
@ApiModelProperty("浏览日期")
|
||||||
private Date reviewDate;
|
private String reviewDate;
|
||||||
|
|
||||||
}
|
}
|
@@ -359,7 +359,9 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
|
|||||||
}
|
}
|
||||||
AppReviewJob appReviewJob = new AppReviewJob();
|
AppReviewJob appReviewJob = new AppReviewJob();
|
||||||
appReviewJob.setUserId(SecurityUtils.getUserId());
|
appReviewJob.setUserId(SecurityUtils.getUserId());
|
||||||
appReviewJob.setReviewDate(new Date());
|
LocalDateTime now = LocalDateTime.now();
|
||||||
|
String formattedDate = now.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
||||||
|
appReviewJob.setReviewDate(formattedDate);
|
||||||
appReviewJob.setJobId(jobId);
|
appReviewJob.setJobId(jobId);
|
||||||
appReviewJobMapper.insert(appReviewJob);
|
appReviewJobMapper.insert(appReviewJob);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user