public class UserDao implements UserDaoInterface {
private Connection conn;
public UserDao(Connection conn){
this.conn = conn;
}
public List<User> selectUserList() {
String sql = "select * from t_user";
PreparedStatement sta = null;
ResultSet rs = null;
try {
System.out.println(1);
......................
阅读全部 | 2015年5月23日 22:23