row,err:=db.CmsDB.Queryx("SELECT ul.userId, ul.loginTime, ui.name, ui.email, ui.department_name, ui.position_name FROM user_login AS ul INNER JOIN user_info as ui "+
row,err:=db.CmsDB.Queryx("SELECT ul.userId, ul.loginTime, ui.name, ui.email, ui.department_name, ui.position_name FROM user_login AS ul INNER JOIN user_info as ui "+
"ON ul.userId = ui.userId WHERE ul.loginTime BETWEEN ? AND ? GROUP BY ul.userId",prev_begin_time,prev_end_time)
"ON ul.userId = ui.userId WHERE ul.loginTime BETWEEN ? AND ? GROUP BY ul.userId",prev_begin_time,prev_end_time)