• 大小: 18.19MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-08
  • 语言: Java
  • 标签: JavaWeb  

资源简介

此项目适用于毕业生在做毕业设计做参考使用,代码简单易懂,不对之处请联系!

资源截图

代码片段和文件信息

package cn.shop.cxd.admin.admin.dao;

import java.sql.SQLException;

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

import cn.itcast.jdbc.TxQueryRunner;
import cn.shop.cxd.admin.admin.domain.Admin;

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

/**
 * 通过管理员登录名和登录密码查询
 * @param adminname
 * @param adminpwd
 * @return
 * @throws SQLException
 */
public Admin find(String adminname String adminpwd) throws SQLException {
String sql = “select * from t_admin where adminname=? and adminpwd=?“;
return qr.query(sql new BeanHandler(Admin.class) adminname adminpwd);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-01 14:36  Shop_CXD\
     文件        2480  2018-12-04 14:40  Shop_CXD\.classpath
     文件         908  2018-12-01 14:36  Shop_CXD\.project
     目录           0  2018-12-01 14:36  Shop_CXD\.settings\
     文件         567  2018-12-01 14:36  Shop_CXD\.settings\.jsdtscope
     文件         364  2018-12-01 14:36  Shop_CXD\.settings\org.eclipse.jdt.core.prefs
     文件         476  2018-12-01 14:36  Shop_CXD\.settings\org.eclipse.wst.common.component
     文件         345  2018-12-01 14:36  Shop_CXD\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-12-01 14:36  Shop_CXD\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-12-01 14:36  Shop_CXD\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-12-16 20:22  Shop_CXD\WebContent\
     目录           0  2018-12-01 14:36  Shop_CXD\WebContent\meta-INF\
     文件          39  2018-12-01 14:36  Shop_CXD\WebContent\meta-INF\MANIFEST.MF
     目录           0  2018-12-12 15:03  Shop_CXD\WebContent\QianDuan\
     文件        3648  2018-12-11 11:09  Shop_CXD\WebContent\QianDuan\account.jsp
     目录           0  2018-12-11 20:24  Shop_CXD\WebContent\QianDuan\bank_img\
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\abc.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\bc.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\bcc.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\beijingnongshang.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\bh.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\bj.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\ccb.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\cib.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\cmb.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\cmbc.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\dy.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\gf.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\guangda.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\hx.bmp
     文件        6226  2018-12-08 19:55  Shop_CXD\WebContent\QianDuan\bank_img\icbc.bmp
............此处省略740个文件信息

评论

共有 条评论