Compare commits

..

2 Commits

Author SHA1 Message Date
yang.yongquan 434ad8f57b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/cn/edu/hfut/rmdjzz/projectmanagement/entity/Project.java
2022-07-07 14:14:06 +08:00
yang.yongquan 3eb25034c9 修改了时间验证的一些错误 2022-07-07 14:12:02 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ public class Project {
private LocalDateTime projectCreatedTime;
private LocalDate projectClosedDate;
public Boolean checkProjectDate() {
if (!TimeUtils.validateTimeLine(projectStartDate, projectFirstTestDate, projectClosedDate, projectEndDate)) {
Boolean checkProjectDate() {
if(!TimeUtils.validateTimeLine(projectStartDate, projectFirstTestDate, projectFinalTestDate, projectEndDate)) {
return false;
}
if (!TimeUtils.validateTimeLine(projectStartDate, projectOnlineDate)) {