customerdao.java
来自「简单的struts框架的应用 实现对数据库的增删改查」· Java 代码 · 共 15 行
JAVA
15 行
package com.lc.zyz.model.persistence.dao;
import java.util.Iterator;
import com.lc.zyz.model.domain.CustomerInfo;
public interface CustomerDao {
boolean addCustomer(CustomerInfo ci) throws Exception;//添加
boolean updateCustomer(CustomerInfo ci) throws Exception;//修改
boolean deleteCustomer(String cusId) throws Exception;//删除
Iterator getAllCustomer() throws Exception;//查询全部
CustomerInfo getCustomerById(String cusId) throws Exception;//查询BY编号
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?