📄 petdao.java~18~
字号:
package com.pet.pets.model.DAO;
import com.pet.pets.model.DTO.PetBean;
import com.pet.pets.model.DTO.BespokeBean;
import com.pet.pets.model.DTO.ReserveBean;
import java.util.ArrayList;
public interface PetDao {
//宠物登记的方法
public PetBean getpetbean(int PUID,String Pname,String Page,String Psex,int Ptype,String Premark);
//通过宠物类型ID查询宠物类型
public String gettype(int uid);
//通过宠物ID查询宠物信息
public PetBean getpet(int PID);
//通过宠物ID删除宠物
public int delpet(int PID);
//通过宠物ID修改宠物信息
public PetBean update(int PID,String Pname,String Page,String Psex,int Ptype,String Premark);
//宠物看病预约的方法
public BespokeBean getbespoke(int BPID,int BVID, int BUID,String Btime,String Bsymptom);
//生成预约单
public ReserveBean getReserve(BespokeBean bespokebean);
//获得所有宠物类型
public ArrayList allType();
//根据兽医ID查看所有预约单
public ArrayList allBespoke(int vid,int num);
//查看所有预约单shu
public String queryEmployeeAll(int VID) ;
//查询预约单
public BespokeBean cxbes();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -