package com.itheima.login.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import com.itheima.login.domain.User; import com.itheima.login.utils.JdbcUtils; public class UserDao { //查询 单个 用户 , 这里 是dao的核心类, 封装了对数据...

阅读全文>>

package com.gyarmy.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import com.gyarmy.Utils.JdbcUtils; import com.gyarmy.domain.Users; public class UserDao { pub...

阅读全文>>