From f816d065e65a650a2cc5f5a246032509a26de371 Mon Sep 17 00:00:00 2001 From: User_cyk <1020691186@qq.com> Date: Sun, 9 Jul 2023 14:06:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=BF=94=E5=9B=9E=E6=A0=87?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/hellogithub/dao/UserDao.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/hellogithub/dao/UserDao.java b/src/com/hellogithub/dao/UserDao.java index 4f2a7ce..46aad93 100644 --- a/src/com/hellogithub/dao/UserDao.java +++ b/src/com/hellogithub/dao/UserDao.java @@ -131,6 +131,7 @@ public class UserDao { String sql = "select searchHistory from user where userName=? and isValid = 1"; userEntity = runner.query(conn, sql, new BeanHandler<>(userEntity.class),name); l = userEntity.getSearchHistory().split(";"); + for(int i=0;i