门诊输液记录up
This commit is contained in:
@@ -374,6 +374,8 @@ public class OutpatientInfusionRecordServiceImpl implements IOutpatientInfusionR
|
|||||||
queryWrapper.isNull(CommonConstants.FieldName.BasedOnId);
|
queryWrapper.isNull(CommonConstants.FieldName.BasedOnId);
|
||||||
// 状态是进行中
|
// 状态是进行中
|
||||||
queryWrapper.eq(CommonConstants.FieldName.RequestStatus, EventStatus.IN_PROGRESS.getValue());
|
queryWrapper.eq(CommonConstants.FieldName.RequestStatus, EventStatus.IN_PROGRESS.getValue());
|
||||||
|
//筛选当前ID的患者历史执行记录
|
||||||
|
queryWrapper.eq(CommonConstants.FieldName.PatientId,patientId);
|
||||||
|
|
||||||
return editRecords(queryWrapper);
|
return editRecords(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,18 +50,18 @@ public class OutpatientInfusionRecordController {
|
|||||||
.ok(outpatientInfusionRecordService.getOutpatientInfusionPatientList(searchKey, pageNo, pageSize, request));
|
.ok(outpatientInfusionRecordService.getOutpatientInfusionPatientList(searchKey, pageNo, pageSize, request));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 点击患者,查询该患者的输液记录
|
// * 点击患者,查询该患者的输液记录
|
||||||
*
|
// *
|
||||||
* @param outpatientInfusionPatientDto 患者输液信息
|
// * @param outpatientInfusionPatientDto 患者输液信息
|
||||||
* @return 当前患者门诊输液待执行列表
|
// * @return 当前患者门诊输液待执行列表
|
||||||
*/
|
// */
|
||||||
@GetMapping(value = "/patient-infusion-record")
|
// @GetMapping(value = "/patient-infusion-record")
|
||||||
public R<?> getPatientInfusionRecord(OutpatientInfusionPatientDto outpatientInfusionPatientDto,
|
// public R<?> getPatientInfusionRecord(OutpatientInfusionPatientDto outpatientInfusionPatientDto,
|
||||||
HttpServletRequest request) {
|
// HttpServletRequest request) {
|
||||||
|
//
|
||||||
return R.ok(outpatientInfusionRecordService.getPatientInfusionRecord(outpatientInfusionPatientDto, request));
|
// return R.ok(outpatientInfusionRecordService.getPatientInfusionRecord(outpatientInfusionPatientDto, request));
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量执行患者门诊输液
|
* 批量执行患者门诊输液
|
||||||
@@ -98,12 +98,13 @@ public class OutpatientInfusionRecordController {
|
|||||||
/**
|
/**
|
||||||
* 门诊输液待执行记录查询
|
* 门诊输液待执行记录查询
|
||||||
*
|
*
|
||||||
|
* @param patientId 患者ID
|
||||||
* @return 门诊输液待执行记录列表
|
* @return 门诊输液待执行记录列表
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/infusion-wait-perform-record")
|
@GetMapping(value = "/infusion-wait-perform-record")
|
||||||
public R<?> getPatientInfusionRecords(HttpServletRequest request) {
|
public R<?> getPatientInfusionRecords(@RequestParam Long patientId,HttpServletRequest request) {
|
||||||
|
|
||||||
return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(null,request, false));
|
return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(patientId,request, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user