📄 ipetbusiness.java
字号:
package com.hzxh.pet.model;import java.util.List;import java.util.Map;/** * 业务接口 * * @author yuqing * */public interface IPetBusiness { /** * 宠物领养 * * @param p * @throws Exception */ public void savePet(PetInfo p) throws Exception; /** * 获得宠物列表 * * @param keys * @param orderby * @return * @throws Exception */ public List getPetList(Map keys, String orderby) throws Exception; /** * 宠物登录 * * @param petname * @param password * @throws Exception */ public PetInfo getLogin(String petname, String password) throws Exception; /** * 宠物详细信息 * * @param petId * @return * @throws Exception */ public PetInfo getPetinfo(int petId) throws Exception; /** * 宠物日志详细信息 * * @param diaryId * @return * @throws Exception */ public Petdiary getPetDiary(int diaryId) throws Exception; /** * 获得日志列表 * * @param keys * @param orderby * @return * @throws Exception */ public List getDiaryList(Map keys, String orderby) throws Exception; /** * 更新宠物 * * @param p * @throws Exception */ public void updatePetinfo(PetInfo p) throws Exception; /** * 保存宠物日志 * * @param p * @throws Exception */ public void saveDiary(Petdiary p) throws Exception; /** * 注册时检查 * * @param petName * @return */ public Boolean getCheckName(String petName); /** * 宠物训练 * * @param type */ public void updateTraining(int petId, String type);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -