diff --git a/openhis-server/openhis-application/src/main/java/com/openhis/web/outpatientmanage/mapper/OutpatientManageMapper.java b/openhis-server/openhis-application/src/main/java/com/openhis/web/outpatientmanage/mapper/OutpatientManageMapper.java index c81e7d8f..5d055ccd 100644 --- a/openhis-server/openhis-application/src/main/java/com/openhis/web/outpatientmanage/mapper/OutpatientManageMapper.java +++ b/openhis-server/openhis-application/src/main/java/com/openhis/web/outpatientmanage/mapper/OutpatientManageMapper.java @@ -62,4 +62,11 @@ public interface OutpatientManageMapper { List getOutpatientInfusionRecord(@Param(Constants.WRAPPER) QueryWrapper queryWrapper); + /** + * 获取医生名字列表 + * + * @return 医生名字列表 + */ + List getDoctorNames(); + } diff --git a/openhis-server/openhis-application/src/main/java/com/openhis/web/patientmanage/appservice/impl/OutpatientRecordServiceImpl.java b/openhis-server/openhis-application/src/main/java/com/openhis/web/patientmanage/appservice/impl/OutpatientRecordServiceImpl.java index 7f0e8480..2a64c4bf 100644 --- a/openhis-server/openhis-application/src/main/java/com/openhis/web/patientmanage/appservice/impl/OutpatientRecordServiceImpl.java +++ b/openhis-server/openhis-application/src/main/java/com/openhis/web/patientmanage/appservice/impl/OutpatientRecordServiceImpl.java @@ -15,6 +15,8 @@ import com.openhis.web.patientmanage.dto.OutpatientRecordInitDto; import com.openhis.web.patientmanage.dto.OutpatientRecordSearchParam; import com.openhis.web.patientmanage.mapper.PatientManageMapper; +import javax.annotation.Resource; + /** * 门诊记录查询 应用实现 * @@ -24,7 +26,7 @@ import com.openhis.web.patientmanage.mapper.PatientManageMapper; @Service public class OutpatientRecordServiceImpl implements IOutpatientRecordService { - @Autowired + @Resource PatientManageMapper patientManageMapper; /**