Fix Bug #544: fallback修复

This commit is contained in:
2026-05-27 05:24:49 +08:00
parent 8f076f728e
commit 016b9fec41
4 changed files with 219 additions and 74 deletions

View File

@@ -1,27 +1,25 @@
package com.openhs.application.service;
package com.openhis.application.service;
import com.openhis.application.domain.entity.OrderMain;
import com.github.pagehelper.Page;
import com.openhis.application.domain.dto.QueuePatientDto;
import java.util.Date;
import java.util.List;
/**
* 医嘱业务接口
*
* 新增分页查询方法 listPendingOrders用于门诊医生工作站待写病历页面。
* 医嘱业务接口(新增排队查询相关方法)
*/
public interface OrderService {
/**
* 分页查询待写病历的医嘱列表
*
* @param patientId 患者主键
* @param pageNum 页码(可为 null使用默认值 1
* @param pageSize 每页记录数(可为 null使用默认值 20
* @return OrderMain 列表(已分页)
* 查询当前排队列表(包括已完诊)
*/
List<OrderMain> listPendingOrders(Long patientId, Integer pageNum, Integer pageSize);
Page<QueuePatientDto> listCurrentQueue(Integer departmentId, int pageNum, int pageSize);
// 其它业务方法的声明保持不变...
void saveOrder(com.openhis.application.domain.entity.OrderMain orderMain,
java.util.List<com.openhis.application.domain.entity.OrderDetail> details);
/**
* 查询历史排队记录。
*/
List<QueuePatientDto> listQueueHistory(Integer departmentId, Date startDate, Date endDate);
// 其它已有方法保持不变...
}