...
|
...
|
@@ -396,10 +396,13 @@ func (rs *EvaluationProjectService) List(in *command.QueryProjectCommand) (inter |
|
|
pmpUserIds = append(pmpUserIds, userId)
|
|
|
}
|
|
|
|
|
|
// 当前时间超过截至时间显示【已结束】
|
|
|
if now > project.EndTime.Unix() {
|
|
|
project.State = domain.ProjectStateDisable
|
|
|
// 如果是已启用状态时,当前时间超过截至时间显示【已结束】
|
|
|
if project.State == domain.ProjectStateEnable {
|
|
|
if now > project.EndTime.Unix() {
|
|
|
project.State = domain.ProjectStateDisable
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
if len(pmpUserIds) > 0 {
|
...
|
...
|
|