项目

一般

简介

Hospital 医院服务

名称 地址 参数 方法 返回值
根据hosId查询医院信息 hospital/hospital/getInfo/{version} hosId hospital对象
修改医院信息 hospital/hospital/update/{version} hosId,name,resume,address,phone,contact String
根据uid查询医院信息 hospital/hospital/getInfoByUid/{version} uid hospital对象
医院获取所有部门 hospital/department/hospitalGetAllDep/{version} hosId list<DepartObj>
修改部门 hospital/department/hospitalUpdateDep/{version} depId,depName,resume,phone,isExistPatient,depType boolean
增加部门 hospital/department/hospitalAddDep/{version} hosId,depName, resume, phone, isExistPatient, depType int(部门id)
删除部门 hospital/department/offDepartment/{version} depId boolean
增加(修改)科室管理员 hospital/department/hosptialAddAdmin/{version} uid和phone选其一 ,depId, empType(0医生,1护士) Employee
非医院帐号登陆时查询所有员工列表 hospital/employee/getAllEmployeeObjs/{version} uid List<EmployeeObj>
一级管理员添加二级部门 hospital/department/parentAdminAddDep/{version} parentId,depName,phone,resume,isExistPatient,depType Interger
一级管理员获取所有部门 hospital/department/parentAdminGetAllDep/{version} depId(他所在的一级部门Id) List<DepartObj>
查询科室的所有员工 hospital/department/getEmployees/{version} depId List<Employee>
添加员工(医生0,护士1,康复师2) hospital/department/addEmployee/{version} depId,empType,phone,uid和phone必选其一 boolean
获取部门的全部雇员列表(包括子部门) hospital/department/getEmployees/{version} depId List<EmpObj>
获取当前部门的全部雇员列表(只有当前部门) hospital/department/getCurrentDepEmps/{version} depId List<EmpObj>
非医院帐号登录后选择员工信息返回 hospital/employee/saveEmployeeObj/{version} empId String
切换员工帐号 hospital/employee/updateEmployeeObj/{version} oldId(原先的Id) newId(要切换的新的Id) String
获取全部康复师 hospital/employee/getAllTherapist/{version} hosId Map<Interger,DepTherapist>
根据员工编号获取部门信息(员工在父部门则获取父部门和子部门,子部门员工只获取子部门) hospital/department/getAllDepByEmpId/{version} empId List<DepartObj>
根据员工类型和部门编号获取全部员工(同上) hospital/employee/getEmpByE mpTypeAndDepId/{version} depId,empType List<Employee>
根据员工编号获取员工当前的医院,以及在医院的默认职务 hospital/employee/getEmployee/{version} empId EmployeeObj
删除一个雇员 hospital/employee/delEmployee/{version} empId String