資源簡(jiǎn)介
基于J2SE和數(shù)據(jù)庫(kù)的客戶管理系統(tǒng),主要功能包括客戶增加模塊;客戶修改模塊;刪除模塊;查詢模塊:按編號(hào),名稱,地址查詢客戶;瀏覽模塊:瀏覽所有客戶信息。

代碼片段和文件信息
package?com.Anthony.customer.client;
import?com.Anthony.customer.service.CustomerService;
import?com.Anthony.customer.service.impl.CustomerServiceImpl;
import?com.Anthony.customer.util.InputUtil;
public?class?Client?{
private?static?CustomerService?customerService?=?new?CustomerServiceImpl();
public?static?void?main(String[]?args)?{
while?(true)?{
Menu.showMenu();
try?{
int?choice?=?Integer.parseInt(InputUtil.getInputUtil());
switch?(choice)?{
case?1://?增加
customerService.insert();
break;
case?2://?刪除
customerService.delect();
break;
case?3://?修改
customerService.update();
break;
case?4://?查詢
search();
break;
case?5://?瀏覽
customerService.showAll();
break;
case?0://?退出
System.out.println(“退出成功!“);
System.exit(0);
break;
default:
System.out.println(“輸入錯(cuò)誤,重新輸入0-5!“);
break;
}
}?catch?(Exception?e)?{
System.out.println(“輸入錯(cuò)誤,請(qǐng)輸入數(shù)字0-5!“);
}
}
}
//?查詢
public?static?void?search()?{
boolean?flage?=?true;
while?(flage)?{
Menu.subMenu();
try?{
int?choice?=?Integer.parseInt(InputUtil.getInputUtil());
switch?(choice)?{
case?1://?按編號(hào)查詢
customerService.searchById();
break;
case?2://?按姓名查詢
customerService.searchByName();
break;
case?3://?按地址查詢
customerService.searchByAddress();
break;
case?4://?退出
System.out.println(“退出成功“);
flage?=?false;
break;
default:
System.out.println(“輸入錯(cuò)誤,重新輸入1-4:“);
break;
}
}?catch?(Exception?e)?{
System.out.println(“輸入錯(cuò)誤,請(qǐng)輸入數(shù)字1-4!“);
}
}
}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????517??2018-08-24?19:15??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\.classpath
?????文件????????384??2018-08-24?14:12??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\.project
?????文件????????598??2018-08-24?14:12??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\.settings\org.eclipse.jdt.core.prefs
?????文件????????593??2018-08-24?14:18??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\c3p0-config.xm
?????文件???????2123??2018-08-25?09:15??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\client\Client.class
?????文件???????1002??2018-08-25?09:15??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\client\Menu.class
?????文件????????719??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\dao\CustomerDao.class
?????文件???????5539??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\dao\impl\CustomerDaoImpl.class
?????文件???????1408??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\po\Customer.class
?????文件????????285??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\service\CustomerService.class
?????文件???????4072??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\service\impl\CustomerServiceImpl.class
?????文件????????588??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\util\InputUtil.class
?????文件???????1278??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\util\JDBCUtil.class
?????文件????????593??2018-08-24?14:18??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\c3p0-config.xm
?????文件???????1791??2018-08-25?09:15??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\client\Client.java
?????文件????????722??2018-08-25?09:15??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\client\Menu.java
?????文件????????607??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\dao\CustomerDao.java
?????文件???????5373??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\dao\impl\CustomerDaoImpl.java
?????文件????????737??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\po\Customer.java
?????文件????????319??2018-08-24?19:48??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\service\CustomerService.java
?????文件???????3317??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\service\impl\CustomerServiceImpl.java
?????文件????????211??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\util\InputUtil.java
?????文件????????966??2018-08-24?19:49??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\util\JDBCUtil.java
?????文件????????961??2018-08-24?19:50??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\customermanagement.sql
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\dao\impl
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\service\impl
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\dao\impl
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\src\com\Anthony\customer\service\impl
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\client
?????目錄??????????0??2018-08-25?09:16??客戶管理系統(tǒng)-數(shù)據(jù)庫(kù)\Customer\bin\com\Anthony\customer\dao
............此處省略22個(gè)文件信息
評(píng)論
共有 條評(píng)論