mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 01:46:18 +08:00
correct converter
This commit is contained in:
@@ -126,7 +126,7 @@ public class Register extends HttpServlet {
|
|||||||
ResultSet rs = ps.executeQuery();
|
ResultSet rs = ps.executeQuery();
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
String old = rs.getString(1);
|
String old = rs.getString(1);
|
||||||
ps = conn.prepareStatement("UPDATE `convert` SET wechat=? WHERE wechat=?");
|
ps = conn.prepareStatement("UPDATE `operators` SET wechat=? WHERE wechat=?");
|
||||||
ps.setString(1, u.getWechatId());
|
ps.setString(1, u.getWechatId());
|
||||||
ps.setString(2, old);
|
ps.setString(2, old);
|
||||||
if (ps.executeUpdate() == 1) {
|
if (ps.executeUpdate() == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user