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