up
This commit is contained in:
@@ -66,12 +66,12 @@ public class OutpatientInfusionRecordServiceImpl implements IOutpatientInfusionR
|
|||||||
@Autowired
|
@Autowired
|
||||||
ServiceRequestMapper serviceRequestMapper;
|
ServiceRequestMapper serviceRequestMapper;
|
||||||
|
|
||||||
@Override
|
|
||||||
/**
|
/**
|
||||||
* 获取门诊输液记录初期数据列表
|
* 获取门诊输液记录初期数据列表
|
||||||
*
|
*
|
||||||
* @return 门诊输液记录初期数据列表
|
* @return 门诊输液记录初期数据列表
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public OutpatientInfusionInitDto getOutpatientInfusionInit() {
|
public OutpatientInfusionInitDto getOutpatientInfusionInit() {
|
||||||
OutpatientInfusionInitDto initDto = new OutpatientInfusionInitDto();
|
OutpatientInfusionInitDto initDto = new OutpatientInfusionInitDto();
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ public class OutpatientSkinTestRecordServiceImpl implements IOutpatientSkinTestR
|
|||||||
Integer offset = (pageNo - 1) * pageSize;
|
Integer offset = (pageNo - 1) * pageSize;
|
||||||
// 连表查询患者信息
|
// 连表查询患者信息
|
||||||
List<OutpatientSkinTestRecordDto> listOutpatientSkinTestRecords =
|
List<OutpatientSkinTestRecordDto> listOutpatientSkinTestRecords =
|
||||||
outpatientManageMapper.getOutpatientSkinTestRecord(outpatientSkinTestRecordSearchParam, pageSize, offset);
|
outpatientManageMapper.getSkinTestRecords(outpatientSkinTestRecordSearchParam, pageSize, offset);
|
||||||
|
|
||||||
// 查询总记录数
|
// 查询总记录数
|
||||||
long total = outpatientManageMapper.countOutpatientSkinTestRecords(outpatientSkinTestRecordSearchParam);
|
long total = outpatientManageMapper.countOutpatientSkinTestRecords(outpatientSkinTestRecordSearchParam);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public interface OutpatientManageMapper {
|
|||||||
* @param offset 跳过条数
|
* @param offset 跳过条数
|
||||||
* @return 分页查询
|
* @return 分页查询
|
||||||
*/
|
*/
|
||||||
List<OutpatientSkinTestRecordDto> getOutpatientSkinTestRecord(
|
List<OutpatientSkinTestRecordDto> getSkinTestRecords(
|
||||||
@Param("OutpatientSkinTestRecordSearchParam") OutpatientSkinTestRecordSearchParam outpatientSkinTestRecordSearchParam,
|
@Param("OutpatientSkinTestRecordSearchParam") OutpatientSkinTestRecordSearchParam outpatientSkinTestRecordSearchParam,
|
||||||
@Param("pageSize") Integer pageSize, @Param("offset") Integer offset);
|
@Param("pageSize") Integer pageSize, @Param("offset") Integer offset);
|
||||||
|
|
||||||
@@ -62,11 +62,5 @@ public interface OutpatientManageMapper {
|
|||||||
List<OutpatientInfusionRecordDto>
|
List<OutpatientInfusionRecordDto>
|
||||||
getOutpatientInfusionRecord(@Param(Constants.WRAPPER) QueryWrapper<OutpatientInfusionRecordDto> queryWrapper);
|
getOutpatientInfusionRecord(@Param(Constants.WRAPPER) QueryWrapper<OutpatientInfusionRecordDto> queryWrapper);
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取医生名字列表
|
|
||||||
*
|
|
||||||
* @return 医生名字列表
|
|
||||||
*/
|
|
||||||
List<String> getDoctorNames();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
|
|
||||||
<!-- 门诊输液记录患者列表信息查询-->
|
<!-- 门诊输液记录患者列表信息查询-->
|
||||||
<select id="getOutpatientInfusionPatient"
|
<select id="getOutpatientInfusionPatient"
|
||||||
resultType="com.openhis.web.outpatientmanage.dto.OutpatientInfusionSearchParam">
|
resultType="com.openhis.web.outpatientmanage.dto.OutpatientInfusionPatientDto">
|
||||||
SELECT
|
SELECT
|
||||||
T1.service_id,
|
T1.service_id,
|
||||||
T1.prescription_no,
|
T1.prescription_no,
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
|
|
||||||
<!-- 门诊输液记录初始化,默认显示今天待执行输液记录-->
|
<!-- 门诊输液记录初始化,默认显示今天待执行输液记录-->
|
||||||
<select id="getOutpatientInfusionRecord"
|
<select id="getOutpatientInfusionRecord"
|
||||||
resultType="com.openhis.web.outpatientmanage.dto.OutpatientInfusionPatientDto">
|
resultType="com.openhis.web.outpatientmanage.dto.OutpatientInfusionRecordDto">
|
||||||
SELECT
|
SELECT
|
||||||
T1.service_id,
|
T1.service_id,
|
||||||
T1.bus_no,
|
T1.bus_no,
|
||||||
|
|||||||
@@ -203,7 +203,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询医生名字列表-->
|
<!-- 查询医生名字列表-->
|
||||||
<select id="getDoctorNames" resultType="java.lang.String">
|
<select id="getDoctorNames" resultType ="java.lang.String">
|
||||||
SELECT MIN(p.name) AS practitioner_name
|
SELECT MIN(p.name) AS practitioner_name
|
||||||
FROM adm_encounter_participant ep
|
FROM adm_encounter_participant ep
|
||||||
LEFT JOIN adm_practitioner p ON ep.practitioner_id = p.id
|
LEFT JOIN adm_practitioner p ON ep.practitioner_id = p.id
|
||||||
|
|||||||
Reference in New Issue
Block a user