From b747f805076ea35a17ade6298e849988cd2dcc96 Mon Sep 17 00:00:00 2001 From: wangjian963 <15215920+aprilry@user.noreply.gitee.com> Date: Thu, 2 Apr 2026 17:59:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(doctorstation):=20=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8D=95=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=94=B3=E8=AF=B7ID=E5=AD=97=E6=AE=B5=20-=20DTO=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0applicationId=EF=BC=88=E8=87=AA=E5=A2=9E=E4=B8=BB?= =?UTF-8?q?=E9=94=AE=EF=BC=89=E5=AD=97=E6=AE=B5=20-=20Mapper=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=B1=BB=E5=9E=8B=E4=BB=8E=E5=AE=9E=E4=BD=93=E7=B1=BB?= =?UTF-8?q?=E6=94=B9=E4=B8=BADTO=20-=20=E5=89=8D=E7=AB=AF=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA=E7=94=B3=E8=AF=B7ID=E6=9B=BF?= =?UTF-8?q?=E4=BB=A3=E8=A1=8C=E5=8F=B7=20-=20=E8=B0=83=E6=95=B4UI=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E5=88=86=E9=A1=B5=E5=99=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DoctorStationLabApplyServiceImpl.java | 4 +- .../dto/DoctorStationLabApplyDto.java | 4 + .../mapper/DoctorStationLabApplyMapper.java | 4 +- .../DoctorStationLabApplyMapper.xml | 14 +- .../lab/domain/InspectionLabApply.java | 9 +- .../inspection/inspectionApplication.vue | 268 +++++++++++------- 6 files changed, 182 insertions(+), 121 deletions(-) diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationLabApplyServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationLabApplyServiceImpl.java index b66d60a9..ccaf38e6 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationLabApplyServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationLabApplyServiceImpl.java @@ -374,11 +374,11 @@ public class DoctorStationLabApplyServiceImpl implements IDoctorStationInspectio // 查询检验申请单列表 log.debug("查询申请单数据前"); - List list = doctorStationLabApplyMapper.getInspectionApplyListPage(encounterId); + List list = doctorStationLabApplyMapper.getInspectionApplyListPage(encounterId); log.debug("查询申请单数据后"); // 使用 PageInfo 包装查询结果 - PageInfo pageInfo = new PageInfo<>(list); + PageInfo pageInfo = new PageInfo<>(list); // 构建返回结果 Map result = new HashMap<>(); diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/dto/DoctorStationLabApplyDto.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/dto/DoctorStationLabApplyDto.java index fdcd81fb..fbbb0709 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/dto/DoctorStationLabApplyDto.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/dto/DoctorStationLabApplyDto.java @@ -17,6 +17,10 @@ import java.util.List; @Data @Accessors(chain = true) public class DoctorStationLabApplyDto { + /** + * 申请单ID(数据库自增主键) + */ + private Long applicationId; /** * 申请单编号 */ diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/mapper/DoctorStationLabApplyMapper.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/mapper/DoctorStationLabApplyMapper.java index 55020e48..32505f1f 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/mapper/DoctorStationLabApplyMapper.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/mapper/DoctorStationLabApplyMapper.java @@ -1,6 +1,6 @@ package com.openhis.web.doctorstation.mapper; -import com.openhis.lab.domain.InspectionLabApply; +import com.openhis.web.doctorstation.dto.DoctorStationLabApplyDto; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @@ -23,5 +23,5 @@ public interface DoctorStationLabApplyMapper { * @param encounterId 就诊 ID * @return 检验申请单列表 */ - List getInspectionApplyListPage(@Param("encounterId") Long encounterId); + List getInspectionApplyListPage(@Param("encounterId") Long encounterId); } diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationLabApplyMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationLabApplyMapper.xml index f9464c2c..90fc30f7 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationLabApplyMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationLabApplyMapper.xml @@ -7,6 +7,7 @@ + 直接查询申请单表,不关联明细表,避免重复记录-->