输液代码修改

This commit is contained in:
liuhongrui
2025-03-30 17:01:08 +08:00
parent 820596e5a1
commit 6e90aef657

View File

@@ -12,7 +12,6 @@ import com.core.common.core.domain.R;
import com.core.common.utils.MessageUtils; import com.core.common.utils.MessageUtils;
import com.openhis.common.constant.PromptMsgConstant; import com.openhis.common.constant.PromptMsgConstant;
import com.openhis.web.outpatientmanage.appservice.IOutpatientInfusionRecordService; import com.openhis.web.outpatientmanage.appservice.IOutpatientInfusionRecordService;
import com.openhis.web.outpatientmanage.dto.OutpatientInfusionPatientDto;
import com.openhis.web.outpatientmanage.dto.OutpatientInfusionRecordDto; import com.openhis.web.outpatientmanage.dto.OutpatientInfusionRecordDto;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@@ -102,7 +101,8 @@ public class OutpatientInfusionRecordController {
* @return 门诊输液待执行记录列表 * @return 门诊输液待执行记录列表
*/ */
@GetMapping(value = "/infusion-wait-perform-record") @GetMapping(value = "/infusion-wait-perform-record")
public R<?> getPatientInfusionRecords(@RequestParam Long patientId,HttpServletRequest request) { public R<?> getPatientInfusionRecords(@RequestParam(value = "patientId", required = false) Long patientId,
HttpServletRequest request) {
return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(patientId, request, false)); return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(patientId, request, false));
} }
@@ -114,7 +114,8 @@ public class OutpatientInfusionRecordController {
* @return 门诊输液执行历史记录列表 * @return 门诊输液执行历史记录列表
*/ */
@GetMapping(value = "/infusion-perform-record") @GetMapping(value = "/infusion-perform-record")
public R<?> getPatientInfusionPerformRecord(@RequestParam Long patientId,HttpServletRequest request) { public R<?> getPatientInfusionPerformRecord(@RequestParam(value = "patientId", required = false) Long patientId,
HttpServletRequest request) {
return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(patientId, request, true)); return R.ok(outpatientInfusionRecordService.getPatientInfusionPerformRecord(patientId, request, true));
} }