📄 ipetservice.java
字号:
package com.wzxy.dao;
import java.util.List;
import com.wzxy.exception.DBException;
import com.wzxy.exception.LoginFailedException;
import com.wzxy.exception.PetOrOwnerNotExistsException;
import com.wzxy.exception.VetNotExistsException;
import com.wzxy.exception.VisitHistoryNotExist;
import com.wzxy.pojos.*;
public interface IPetService {
public EmpDTO LoginVerify(String name, String pwd)
throws LoginFailedException, DBException;
public List VetSearch(String name, String vetSpecName)
throws VetNotExistsException, DBException;
public List PetSearch(String petName, String ownerName,Fenye fy)
throws PetOrOwnerNotExistsException, DBException;
public PetDTO selectPetById(int petId) throws DBException;
public void updatePet(PetDTO pet) throws DBException;
public List selectPetTypes() throws DBException;
public List selectPetOwners() throws DBException;
public void addPet(PetDTO pet) throws DBException;
public void updatePetOwner(PetOwnerDTO petOwner) throws DBException;
public void addPetOwner(PetOwnerDTO petOwner) throws DBException;
public PetOwnerDTO viewPetOwner(int petOwnerId) throws DBException;
public List searchPetVisitHistory(int petId) throws DBException,
VisitHistoryNotExist;
public void addVisitHistory(PetVisitDTO visit)throws DBException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -