资源简介

PetStore是典型的电子商务项目,是现在很多电商平台的雏形。本代码采用Java Swing技术实现PetStore项目。它是《Java从小白到大牛》第29章实战项目(PetStore宠物商店)配套源代码。​ ​【相关Java视频课程】: 1、http://www.zhijieketang.com/classroom/6/introduction ​【配套电子书】网址: 1、图灵社区:http://www.ituring.com.cn/book/2480 2、百度阅读:https://yuedu.baidu.com/ebook/7c1499987e192279168884868762caaedd33ba00

资源截图

代码片段和文件信息

/*
* Created by 智捷课堂
* 本书网站:www.51work6.com 
* 智捷课堂在线课堂:www.zhijieketang.com
* 智捷课堂微信公共号:zhijieketang
* 邮箱:eorient@sina.com
* Java读者服务QQ群:547370999
* 【配套电子书】网址:
*       图灵社区:
*       http://www.ituring.com.cn/book/2480
*       百度阅读:
*       https://yuedu.baidu.com/ebook/7c1499987e192279168884868762caaedd33ba00 
*/

package com.a51work6.jpetstore.dao;

import java.util.List;

import com.a51work6.jpetstore.domain.Account;

//用户管理DAO
public interface AccountDao {

// 查询所有的用户信息
List findAll();

// 根据主键查询用户信息
Account findById(String userid);

// 创建用户信息
int create(Account account);

// 修改用户信息
int modify(Account account);

// 删除用户信息
int remove(Account account);

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-13 00:48  PetStore\
     文件         378  2017-06-26 18:33  PetStore\.classpath
     文件         384  2017-06-29 16:02  PetStore\.project
     目录           0  2017-09-13 00:48  PetStore\.settings\
     文件          82  2017-06-29 19:37  PetStore\.settings\org.eclipse.core.resources.prefs
     文件         598  2017-06-26 14:51  PetStore\.settings\org.eclipse.jdt.core.prefs
     目录           0  2017-09-13 00:48  PetStore\bin\
     目录           0  2017-09-13 00:48  PetStore\bin\com\
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\jpetstore\
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\jpetstore\dao\
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\jpetstore\dao\mysql\
     文件         172  2017-06-29 21:27  PetStore\bin\com\a51work6\jpetstore\dao\mysql\config.properties
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\jpetstore\domain\
     目录           0  2017-09-13 00:48  PetStore\bin\com\a51work6\jpetstore\ui\
     目录           0  2017-09-13 00:48  PetStore\bin\images\
     文件       12009  2017-06-26 19:30  PetStore\bin\images\bird1.gif
     文件        3364  2017-06-26 19:30  PetStore\bin\images\bird1.jpg
     文件       11376  2017-06-26 19:30  PetStore\bin\images\bird2.gif
     文件        3391  2017-06-26 19:30  PetStore\bin\images\bird2.jpg
     文件        5687  2017-06-26 19:30  PetStore\bin\images\bird3.gif
     文件        6310  2017-06-26 19:30  PetStore\bin\images\bird4.gif
     文件        5610  2017-06-26 19:30  PetStore\bin\images\bird5.gif
     文件        4974  2017-06-26 19:30  PetStore\bin\images\bird6.gif
     文件       12761  2017-06-26 19:30  PetStore\bin\images\cat1.gif
     文件        3859  2017-06-26 19:30  PetStore\bin\images\cat1.jpg
     文件       12688  2017-06-26 19:30  PetStore\bin\images\cat2.gif
     文件        3721  2017-06-26 19:30  PetStore\bin\images\cat2.jpg
     文件        5024  2017-06-26 19:30  PetStore\bin\images\cat3.gif
     文件        4862  2017-06-26 19:30  PetStore\bin\images\cat4.gif
     文件       12099  2017-06-26 19:30  PetStore\bin\images\dog1.gif
............此处省略99个文件信息

评论

共有 条评论