资源简介


代码片段和文件信息

package cn.itcast.goods.admin.admin.dao;

import java.sql.SQLException;

import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanHandler;

import cn.itcast.goods.admin.admin.domain.Admin;
import cn.itcast.jdbc.TxQueryRunner;

public class AdminDao {
private QueryRunner qr = new TxQueryRunner();

public Admin login(String adminNameString adminPwd) throws SQLException{
String sql = “select * from t_admin where adminname=? and adminpwd =?“;
return qr.query(sql new BeanHandler(Admin.class)adminNameadminPwd);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1160  2018-04-17 12:32  goods\.classpath

     文件       1055  2018-04-17 12:32  goods\.project

     文件        564  2018-04-17 12:32  goods\.settings\.jsdtscope

     文件        195  2018-05-02 11:27  goods\.settings\com.genuitec.eclipse.core.prefs

     文件        364  2018-04-17 12:32  goods\.settings\org.eclipse.jdt.core.prefs

     文件        474  2018-04-17 12:32  goods\.settings\org.eclipse.wst.common.component

     文件        398  2018-04-17 12:32  goods\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2018-04-17 12:32  goods\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2018-04-17 12:32  goods\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件        724  2018-04-17 16:23  goods\src\c3p0-config.xml

     文件        589  2018-04-30 17:03  goods\src\cn\itcast\goods\admin\admin\dao\AdminDao.java

     文件        555  2018-04-30 16:50  goods\src\cn\itcast\goods\admin\admin\domain\Admin.java

     文件        456  2018-04-30 16:53  goods\src\cn\itcast\goods\admin\admin\service\AdminService.java

     文件       1195  2018-04-30 19:03  goods\src\cn\itcast\goods\admin\admin\web\servlet\AdminServlet.java

     文件       5380  2018-05-02 10:34  goods\src\cn\itcast\goods\admin\book\web\servlet\AdminAddBookServlet.java

     文件      10348  2018-05-02 21:02  goods\src\cn\itcast\goods\admin\book\web\servlet\AdminBookServlet.java

     文件       5708  2018-05-01 10:27  goods\src\cn\itcast\goods\admin\category\web\servlet\AdminCategoryServlet.java

     文件       5182  2018-05-03 00:59  goods\src\cn\itcast\goods\admin\web\servlet\AdminOrderServlet.java

     文件       7383  2018-05-02 15:22  goods\src\cn\itcast\goods\book\dao\BookDao.java

     文件       3371  2018-04-27 11:33  goods\src\cn\itcast\goods\book\domain\Book.java

     文件       2620  2018-05-02 15:21  goods\src\cn\itcast\goods\book\service\BookService.java

     文件       5615  2018-04-27 10:37  goods\src\cn\itcast\goods\book\web\servlet\BookServlet.java

     文件       4772  2018-04-28 14:45  goods\src\cn\itcast\goods\cart\dao\CartItemDao.java

     文件       1210  2018-04-28 10:11  goods\src\cn\itcast\goods\cart\domain\CartItem.java

     文件       2304  2018-04-28 14:48  goods\src\cn\itcast\goods\cart\service\CartItemService.java

     文件       4103  2018-04-29 10:36  goods\src\cn\itcast\goods\cart\web\servlet\CartItemServlet.java

     文件       5237  2018-05-01 19:11  goods\src\cn\itcast\goods\category\dao\CategoryDao.java

     文件        890  2018-04-23 10:02  goods\src\cn\itcast\goods\category\domain\Category.java

     文件       2064  2018-05-01 19:13  goods\src\cn\itcast\goods\category\service\CategoryService.java

     文件        963  2018-04-23 11:05  goods\src\cn\itcast\goods\category\web\servlet\CategoryServlet.java

............此处省略773个文件信息

评论

共有 条评论