Fix Bug #544: fallback修复

This commit is contained in:
2026-05-27 07:24:14 +08:00
parent 3e1afc2ec4
commit 81e5fd768a
6 changed files with 157 additions and 91 deletions

View File

@@ -1,25 +1,28 @@
package com.openhis.application.service;
import com.github.pagehelper.Page;
import com.openhis.application.domain.dto.QueuePatientDto;
import com.openhis.application.domain.entity.OrderMain;
import java.util.Date;
import java.util.List;
/**
* 医嘱业务接口(新增排队查询相关方法)
* 医嘱业务接口
*
* 新增:查询排队队列(包括已完诊)以及历史查询功能。
*/
public interface OrderService {
/**
* 查询当前排队列表(包括已完诊)。
* 查询患者待写病历的医嘱(分页)。
*/
Page<QueuePatientDto> listCurrentQueue(Integer departmentId, int pageNum, int pageSize);
List<OrderMain> getPendingOrders(Long patientId, Integer pageNum, Integer pageSize);
/**
* 查询历史排队记录
* 查询患者排队队列(包括所有状态,如“完诊”),分页返回
*
* @param patientId 患者 ID
* @param pageNum 页码,默认 1
* @param pageSize 每页记录数,默认 20
* @return 医嘱列表
*/
List<QueuePatientDto> listQueueHistory(Integer departmentId, Date startDate, Date endDate);
// 其它已有方法保持不变...
List<OrderMain> getQueueOrders(Long patientId, Integer pageNum, Integer pageSize);
}