小程序医生信息查询接口修改
This commit is contained in:
parent
006981a1d7
commit
b52acef638
@ -33,6 +33,17 @@ public class HealthConsultationController extends BaseController {
|
||||
@Resource
|
||||
private HealthConsultationService healthConsultationService;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取健康咨询-科室人员信息详细信息
|
||||
*/
|
||||
@MobileRequestAuthorization
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(healthConsultationService.selectHospitalPersonInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 健康咨询-预约医生
|
||||
*/
|
||||
|
||||
@ -7,6 +7,7 @@ import com.xinelu.applet.vo.healthconsultation.HealthConsultationVO;
|
||||
import com.xinelu.common.core.domain.AjaxResult;
|
||||
import com.xinelu.common.core.page.TableDataInfo;
|
||||
import com.xinelu.manage.domain.hospitalpersoninfo.HospitalPersonInfo;
|
||||
import com.xinelu.manage.vo.hospitalpersoninfo.HospitalPersonInfoVO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -17,6 +18,14 @@ import java.util.List;
|
||||
*/
|
||||
public interface HealthConsultationService {
|
||||
|
||||
/**
|
||||
* 查询健康咨询-科室人员信息
|
||||
*
|
||||
* @param id 健康咨询-科室人员信息主键
|
||||
* @return 健康咨询-科室人员信息
|
||||
*/
|
||||
HospitalPersonInfoVO selectHospitalPersonInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 健康咨询-预约医生
|
||||
*
|
||||
|
||||
@ -27,6 +27,7 @@ import com.xinelu.applet.mapper.healthconsultation.HealthConsultationMapper;
|
||||
import com.xinelu.manage.mapper.hospitalpersoninfo.HospitalPersonInfoMapper;
|
||||
import com.xinelu.manage.mapper.patientinfo.PatientInfoMapper;
|
||||
import com.xinelu.manage.mapper.poserInfo.PoserInfoMapper;
|
||||
import com.xinelu.manage.vo.hospitalpersoninfo.HospitalPersonInfoVO;
|
||||
import com.xinelu.manage.vo.patientinfo.PatientInfoVO;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
@ -67,6 +68,17 @@ public class HealthConsultationServiceImpl implements HealthConsultationService
|
||||
@Resource
|
||||
private PageServiceUtil pageServiceUtil;
|
||||
|
||||
/**
|
||||
* 查询健康咨询-科室人员信息
|
||||
*
|
||||
* @param id 健康咨询-科室人员信息主键
|
||||
* @return 健康咨询-科室人员信息
|
||||
*/
|
||||
@Override
|
||||
public HospitalPersonInfoVO selectHospitalPersonInfoById(Long id) {
|
||||
return hospitalPersonInfoMapper.selectHospitalPersonInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 健康咨询-预约医生
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user