From 2436ee143332c792e52d2df8fc8a4a3dfec48ebe Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期六, 09 十二月 2023 00:09:04 +0800
Subject: [PATCH] 修改bug

---
 cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java b/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java
index 99dfffa..0d8edbd 100644
--- a/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java
+++ b/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java
@@ -258,6 +258,7 @@
         } else {
             one = new Participant();
             BeanUtils.copyProperties(saveParticipant, one);
+            one.setInsertTime(new Date());
             this.save(one);
         }
     }

--
Gitblit v1.7.1