up
This commit is contained in:
@@ -3,6 +3,7 @@ package com.openhis.web.patientmanage.appservice;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.core.common.core.domain.R;
|
||||||
import com.openhis.web.patientmanage.dto.OutpatientRecordDto;
|
import com.openhis.web.patientmanage.dto.OutpatientRecordDto;
|
||||||
import com.openhis.web.patientmanage.dto.OutpatientRecordSearchParam;
|
import com.openhis.web.patientmanage.dto.OutpatientRecordSearchParam;
|
||||||
|
|
||||||
@@ -30,5 +31,5 @@ public interface IOutpatientRecordService {
|
|||||||
*
|
*
|
||||||
* @return 医生名字列表
|
* @return 医生名字列表
|
||||||
*/
|
*/
|
||||||
List<String> getDoctorNames();
|
R<?> getDoctorNames();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
import com.core.common.core.domain.R;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
@@ -63,8 +64,8 @@ public class OutpatientRecordServiceImpl implements IOutpatientRecordService {
|
|||||||
*
|
*
|
||||||
* @return 医生名字列表
|
* @return 医生名字列表
|
||||||
*/
|
*/
|
||||||
public List<String> getDoctorNames() {
|
public R<?> getDoctorNames() {
|
||||||
return patientManageMapper.getDoctorNames();
|
return R.ok(patientManageMapper.getDoctorNames());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class OutpatientRecordController {
|
|||||||
@GetMapping("/init")
|
@GetMapping("/init")
|
||||||
public R<?> getDoctorNames() {
|
public R<?> getDoctorNames() {
|
||||||
// 获取医生名字列表
|
// 获取医生名字列表
|
||||||
return R.ok(outpatientRecordService.getDoctorNames());
|
return outpatientRecordService.getDoctorNames();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user