📄 persondao.java
字号:
/**
* Copyright (c)上海烟草(集团)公司与上海康时信息系统有限公司。
*/
package com.myejb;
import java.util.Date;
import java.util.List;
import com.myejb.entity.Person;
/**
*
* @author xywang
* @since 2009-2-12
* @version 1.0
*
*/
public interface PersonDao{
/**
* 查询QL
*/
public List queryQL(String QL);
/**
* 查询SQL
*/
public List querySQL(String SQL);
/**
* 插入
*/
public boolean insertPerson(String name,boolean sex,short age,Date birthday);
/**
* 插入
*/
public boolean insertPerson(Person person);
/**
* 根据id查找Person
*/
public String getPersonNameById(int personid);
/**
* 更新
*/
public int merge(Person person);
/**
* 更新
*/
public int update(String name,int personid);
/**
* 更新QL,可以更新和删除
*/
public int update(String QL);
/**
* 更新SQL
*/
public int updateWithSQL(String SQL);
/**
* 删除
*/
public void remove(int personid);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -