21 lines
400 B
Java
21 lines
400 B
Java
package com.baiyun.service.front;
|
|
|
|
import java.util.List;
|
|
|
|
import com.baiyun.enity.Patients;
|
|
|
|
public interface PatientsService {
|
|
|
|
// 患者登录
|
|
public Patients plogin(String name, String password);
|
|
|
|
// 查询所有患者
|
|
public List<Patients> searchAllPatients();
|
|
|
|
// 患者注册
|
|
public void registerPatient(Patients patients);
|
|
|
|
// 根据id查询患者
|
|
Patients findPatientById(int id);
|
|
}
|