From 7ba080d35812e6db7bd5aa8f88161c02653eb6c1 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期三, 24 九月 2025 22:42:35 +0800
Subject: [PATCH] feat: 优化员工和评委编辑功能的密码重置逻辑
---
backend/src/test/java/com/rongyichuang/tools/DataInsertTest.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/src/test/java/com/rongyichuang/tools/DataInsertTest.java b/backend/src/test/java/com/rongyichuang/tools/DataInsertTest.java
index 8788db4..68f10d0 100644
--- a/backend/src/test/java/com/rongyichuang/tools/DataInsertTest.java
+++ b/backend/src/test/java/com/rongyichuang/tools/DataInsertTest.java
@@ -122,9 +122,9 @@
throw new SQLException("鎻掑叆瀛﹀憳澶辫触");
}
- // 娉ㄦ剰锛氭寜 db.sql 鎷煎啓涓� t_avtivity_player
+ // 鎻掑叆娲诲姩鎶ュ悕鏁版嵁
private long insertActivityPlayer(Connection conn, long activityId, long playerId) throws SQLException {
- String sql = "INSERT INTO t_avtivity_player (activity_id, player_id) VALUES (?, ?)";
+ String sql = "INSERT INTO t_activity_player (activity_id, player_id) VALUES (?, ?)";
try (PreparedStatement ps = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)) {
ps.setLong(1, activityId);
ps.setLong(2, playerId);
--
Gitblit v1.8.0