From b53cdfa617677e532a72e86faf5eb828ab4ddfeb Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 24 Apr 2026 15:08:29 +0800 Subject: [PATCH 01/11] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DBug#439=E9=A2=86?= =?UTF-8?q?=E7=94=A8=E5=87=BA=E5=BA=93=E6=80=BB=E5=BA=93=E5=AD=98=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E6=9C=AA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 保留selectRow中sourceLocationId不被清空(handleAddRow已设置) 2. 取消注释handleLocationClick调用,自动获取库存数量 --- .../requisitionManagement/requisitionManagement/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue index 6637f311..ee5025a4 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/requisitionManagement/requisitionManagement/index.vue @@ -988,10 +988,13 @@ function selectRow(rowValue, index) { form.purchaseinventoryList[index].unitList = rowValue.unitList[0]; form.purchaseinventoryList[index].lotNumber = rowValue.lotNumber; form.purchaseinventoryList[index].ybNo = rowValue.ybNo; - form.purchaseinventoryList[index].sourceLocationId = ''; + // #439 fix: 不清空sourceLocationId,保留handleAddRow设置的仓库ID + if (!form.purchaseinventoryList[index].sourceLocationId) { + form.purchaseinventoryList[index].sourceLocationId = ''; + } getPharmacyCabinetList().then((res) => { purposeTypeListOptions.value = res.data; - // handleLocationClick(1, row, index) + handleLocationClick(1, rowValue, index) }); form.purchaseinventoryList[index].itemQuantity = 0; form.purchaseinventoryList[index].totalPrice = 0; From 091b6e83b604545a4b448d156da460d9675cffac Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 24 Apr 2026 15:11:19 +0800 Subject: [PATCH 02/11] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DBug#429=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=96=B9=E6=B3=95=E5=AD=97=E6=AE=B5=E4=B8=8D=E5=BA=94?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=A2=84=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除examinationApplication.vue中自动填充inspectionMethod的逻辑 用户应手动选择检查方法,而不是由系统自动赋值 --- .../components/examination/examinationApplication.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue index 4fb56576..987f72d6 100644 --- a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue @@ -832,11 +832,6 @@ function handleSave() { const firstCheckType = selectedItems.value[0]?.checkType || 'unknown'; form.examTypeCode = firstCheckType; - // 如果有选中的检查方法,更新表单中的检查方法字段(取第一个选中项目的检查方法) - const firstItemWithMethod = selectedItems.value.find(item => item.selectedMethod); - if (firstItemWithMethod?.selectedMethod) { - form.inspectionMethod = firstItemWithMethod.selectedMethod.name; - } const payload = { ...form, From 1242d414999ae84b0cc44bec7fe6f34fe70a8f20 Mon Sep 17 00:00:00 2001 From: zhugeliang Date: Fri, 24 Apr 2026 15:15:15 +0800 Subject: [PATCH 03/11] =?UTF-8?q?fix:=20Bug=20#418=20#419=20#421=20#424=20?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=94=B3=E8=AF=B7=E5=8F=91=E5=BE=80=E7=A7=91?= =?UTF-8?q?=E5=AE=A4=E6=9C=AA=E8=87=AA=E5=8A=A8=E8=B5=8B=E5=80=BC/?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=97=A0=E6=95=B0=E6=8D=AE=20-=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=A7=91=E5=AE=A4=E6=95=B0=E6=8D=AE=E6=BA=90=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 主要修复: - 4个申请单组件统一使用getDepartmentList()替代getOrgList() - 使用/app-common/department-list接口替代分页接口,确保科室树完整加载 - 添加findTreeItem递归查找函数,支持树形结构科室匹配 - 优化分页大小:pageSize从10000降至500,提升加载性能 - #415 后端添加价格非负验证,防止单价显示负数 涉及文件: - laboratoryTests.vue/medicalExaminations.vue/bloodTransfusion.vue/surgery.vue - DoctorStationAdviceAppServiceImpl.java --- .../DoctorStationAdviceAppServiceImpl.java | 21 +++++++++++++--- .../applicationForm/bloodTransfusion.vue | 22 ++++++++++++----- .../order/applicationForm/laboratoryTests.vue | 24 +++++++++++++------ .../applicationForm/medicalExaminations.vue | 24 +++++++++++++------ .../order/applicationForm/surgery.vue | 22 ++++++++++++----- 5 files changed, 84 insertions(+), 29 deletions(-) diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java index aa3a4c6d..e6c26449 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java @@ -1144,7 +1144,12 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp chargeItem.setQuantityValue(adviceSaveDto.getQuantity()); // 数量 chargeItem.setQuantityUnit(adviceSaveDto.getUnitCode()); // 单位 - chargeItem.setUnitPrice(adviceSaveDto.getUnitPrice()); // 单价 + // #415 价格非负验证 + BigDecimal unitPrice = adviceSaveDto.getUnitPrice(); + if (unitPrice != null && unitPrice.compareTo(BigDecimal.ZERO) < 0) { + unitPrice = unitPrice.abs(); // 负数取绝对值 + } + chargeItem.setUnitPrice(unitPrice); // 单价 chargeItem.setTotalPrice(adviceSaveDto.getTotalPrice()); // 总价 // 显式设置tenantId、createBy和createTime字段,防止自动填充机制失效 @@ -1616,7 +1621,12 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp chargeItem.setQuantityValue(adviceSaveDto.getQuantity()); // 数量 chargeItem.setQuantityUnit(adviceSaveDto.getUnitCode()); // 单位 - chargeItem.setUnitPrice(adviceSaveDto.getUnitPrice()); // 单价 + // #415 价格非负验证 + BigDecimal unitPrice = adviceSaveDto.getUnitPrice(); + if (unitPrice != null && unitPrice.compareTo(BigDecimal.ZERO) < 0) { + unitPrice = unitPrice.abs(); // 负数取绝对值 + } + chargeItem.setUnitPrice(unitPrice); // 单价 chargeItem.setTotalPrice(adviceSaveDto.getTotalPrice()); // 总价 // 显式设置审计字段,防止自动填充机制失效 @@ -1842,7 +1852,12 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp chargeItem.setEncounterDiagnosisId(adviceSaveDto.getEncounterDiagnosisId()); // 就诊诊断id chargeItem.setQuantityValue(adviceSaveDto.getQuantity()); // 数量 chargeItem.setQuantityUnit(adviceSaveDto.getUnitCode()); // 单位 - chargeItem.setUnitPrice(adviceSaveDto.getUnitPrice()); // 单价 + // #415 价格非负验证 + BigDecimal unitPrice = adviceSaveDto.getUnitPrice(); + if (unitPrice != null && unitPrice.compareTo(BigDecimal.ZERO) < 0) { + unitPrice = unitPrice.abs(); // 负数取绝对值 + } + chargeItem.setUnitPrice(unitPrice); // 单价 chargeItem.setTotalPrice(adviceSaveDto.getTotalPrice()); // 总价 iChargeItemService.saveOrUpdate(chargeItem); diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/bloodTransfusion.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/bloodTransfusion.vue index a5d21864..b5950993 100644 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/bloodTransfusion.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/bloodTransfusion.vue @@ -80,11 +80,23 @@ + + From 4fb540cfa598c8ab7da18dfe59d9782e4a14215b Mon Sep 17 00:00:00 2001 From: zhangfei Date: Fri, 24 Apr 2026 16:25:36 +0800 Subject: [PATCH 07/11] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DgetDepartmentLis?= =?UTF-8?q?t=E7=BC=BA=E5=A4=B1=E5=AF=BC=E5=87=BA=E9=97=AE=E9=A2=98=20-=20p?= =?UTF-8?q?ublic.js=E4=B8=AD=E8=A1=A5=E5=85=85getDepartmentList=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 4个申请单组件(bloodTransfusion/laboratoryTests/surgery/medicalExaminations) 从@/api/public.js导入getDepartmentList,但该函数未导出导致构建失败 --- openhis-ui-vue3/src/api/public.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openhis-ui-vue3/src/api/public.js b/openhis-ui-vue3/src/api/public.js index 37ec8627..30a900d4 100644 --- a/openhis-ui-vue3/src/api/public.js +++ b/openhis-ui-vue3/src/api/public.js @@ -20,6 +20,15 @@ export function advicePrint(data) { } // 获取全部科室列表 +// 获取科室列表(树形结构) +export function getDepartmentList(data) { + return request({ + url: '/app-common/department-list', + method: 'get', + params: data, + }); +} + export function getOrgList(data) { return request({ url: '/app-common/department-list', From d27b5147ec37b4399be4d10032988f7e1377b0be Mon Sep 17 00:00:00 2001 From: zhugeliang Date: Fri, 24 Apr 2026 16:25:40 +0800 Subject: [PATCH 08/11] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DbloodTransfusion?= =?UTF-8?q?.vue=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5=20-=20public.js?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0getDepartmentList=E5=AF=BC=E5=87=BA=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在public.js中新增getDepartmentList()函数 - 调用/app-common/department-list接口返回完整科室树 - 解决4个申请单组件导入不存在的函数导致构建失败问题 --- openhis-ui-vue3/src/api/public.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openhis-ui-vue3/src/api/public.js b/openhis-ui-vue3/src/api/public.js index 30a900d4..4bfaf890 100644 --- a/openhis-ui-vue3/src/api/public.js +++ b/openhis-ui-vue3/src/api/public.js @@ -37,6 +37,15 @@ export function getOrgList(data) { }); } +// 获取科室列表(非分页,完整树形结构)- 用于申请单组件"发往科室"下拉 +export function getDepartmentList(data) { + return request({ + url: '/app-common/department-list', + method: 'get', + params: data, + }); +} + // 获取全部病区列表 export function getWardList(data) { return request({ From dc43ce335a0864183f4ee0144aac5bd4cd5afe0a Mon Sep 17 00:00:00 2001 From: zhugeliang Date: Fri, 24 Apr 2026 16:30:22 +0800 Subject: [PATCH 09/11] =?UTF-8?q?fix:=20=E6=B8=85=E7=90=86public.js?= =?UTF-8?q?=E4=B8=AD=E9=87=8D=E5=A4=8D=E7=9A=84getDepartmentList=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除重复定义的getDepartmentList函数 - 保留一份干净的科室列表接口导出 - 确保4个申请单组件构建正常 --- openhis-ui-vue3/src/api/public.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/openhis-ui-vue3/src/api/public.js b/openhis-ui-vue3/src/api/public.js index 4bfaf890..30a900d4 100644 --- a/openhis-ui-vue3/src/api/public.js +++ b/openhis-ui-vue3/src/api/public.js @@ -37,15 +37,6 @@ export function getOrgList(data) { }); } -// 获取科室列表(非分页,完整树形结构)- 用于申请单组件"发往科室"下拉 -export function getDepartmentList(data) { - return request({ - url: '/app-common/department-list', - method: 'get', - params: data, - }); -} - // 获取全部病区列表 export function getWardList(data) { return request({ From 76094d6eff915008fa85ed7a13848261e3b96f9c Mon Sep 17 00:00:00 2001 From: wangjian963 <15215920+aprilry@user.noreply.gitee.com> Date: Fri, 24 Apr 2026 16:52:33 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=20fix:=20=E4=BF=AE=E5=A4=8D=20Bug=20#388?= =?UTF-8?q?=20#409=20#410=20=E4=BC=9A=E8=AF=8A=E6=84=8F=E8=A7=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E5=AD=98=E5=82=A8=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E5=8F=82=E5=8A=A0=E5=8C=BB=E5=B8=88=E5=92=8C=E6=84=8F=E8=A7=81?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E5=9B=9E=E6=98=BE=20=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E7=AD=BE=E5=88=B0=E6=8C=82=E5=8F=B7=E6=97=B6=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20serviceTypeId=20=E4=B8=BA=E9=A2=84=E7=BA=A6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E8=80=8C=E9=9D=9E=E6=8C=82=E5=8F=B7=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=20=E5=88=86=E8=AF=8A=E9=98=9F=E5=88=97=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=AF=8A=E5=AE=A4=E8=80=8C=E9=9D=9E=E7=A7=91=E5=AE=A4=EF=BC=8C?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E9=A2=84=E7=BA=A6/=E6=8C=82=E5=8F=B7?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/CurrentDayEncounterDto.java | 5 ++ .../impl/ConsultationAppServiceImpl.java | 14 ++++- .../impl/PaymentRecServiceImpl.java | 58 +++++++++++++++++++ .../OutpatientRegistrationAppMapper.xml | 5 +- .../consultationconfirmation/index.vue | 12 +++- .../triageandqueuemanage/cardiology/index.vue | 21 ++++--- 6 files changed, 103 insertions(+), 12 deletions(-) diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/dto/CurrentDayEncounterDto.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/dto/CurrentDayEncounterDto.java index 3ceab8b6..df6b257c 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/dto/CurrentDayEncounterDto.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/dto/CurrentDayEncounterDto.java @@ -165,4 +165,9 @@ public class CurrentDayEncounterDto { @JsonSerialize(using = ToStringSerializer.class) private Long poolId; + /** + * 诊室名称(Bug #410:分诊队列需显示诊室而非科室) + */ + private String clinicRoom; + } diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/consultation/appservice/impl/ConsultationAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/consultation/appservice/impl/ConsultationAppServiceImpl.java index 1fe860da..5ec3ccf3 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/consultation/appservice/impl/ConsultationAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/consultation/appservice/impl/ConsultationAppServiceImpl.java @@ -1395,9 +1395,17 @@ public class ConsultationAppServiceImpl implements IConsultationAppService { } // 4. 更新邀请记录(存储会诊意见) - // 直接存储用户输入的原始意见内容,不添加医师姓名前缀 - invited.setInvitedStatus(ConsultationStatusEnum.CONFIRMED.getCode()); // 已确认 - invited.setConfirmOpinion(dto.getConsultationOpinion()); // 直接存储原始意见,不添加前缀 + // Bug #388:格式化存储,确保回显时参加医师和意见完整 + invited.setInvitedStatus(ConsultationStatusEnum.CONFIRMED.getCode()); + + String deptName = StringUtils.hasText(dto.getConfirmingDeptName()) + ? dto.getConfirmingDeptName() : invited.getInvitedDepartmentName(); + String physician = StringUtils.hasText(dto.getConfirmingPhysician()) + ? dto.getConfirmingPhysician() : currentPhysicianName; + + // 格式:科室-参加医师:意见内容 + String formattedOpinion = String.format("%s-%s:%s", deptName, physician, dto.getConsultationOpinion()); + invited.setConfirmOpinion(formattedOpinion); invited.setConfirmTime(new Date()); consultationInvitedMapper.updateById(invited); diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/appservice/impl/PaymentRecServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/appservice/impl/PaymentRecServiceImpl.java index 70f33ac4..62b3f358 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/appservice/impl/PaymentRecServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/appservice/impl/PaymentRecServiceImpl.java @@ -59,7 +59,9 @@ import com.openhis.web.personalization.dto.ActivityDeviceDto; import com.openhis.triageandqueuemanage.domain.TriageQueueItem; import com.openhis.triageandqueuemanage.service.TriageQueueItemService; import com.openhis.appointmentmanage.domain.ScheduleSlot; +import com.openhis.appointmentmanage.domain.SchedulePool; import com.openhis.appointmentmanage.mapper.ScheduleSlotMapper; +import com.openhis.appointmentmanage.mapper.SchedulePoolMapper; import com.openhis.clinical.domain.Order; import com.openhis.clinical.service.IOrderService; import com.openhis.workflow.domain.ServiceRequest; @@ -196,6 +198,8 @@ public class PaymentRecServiceImpl implements IPaymentRecService { private IOrderService iOrderService; @Autowired private ScheduleSlotMapper scheduleSlotMapper; + @Autowired + private SchedulePoolMapper schedulePoolMapper; /** * 【门诊预结算】 @@ -1982,6 +1986,60 @@ public class PaymentRecServiceImpl implements IPaymentRecService { Long practitionerId = SecurityUtils.getLoginUser().getPractitionerId(); + // Bug #409:预约签到挂号时,修正 serviceTypeId 为预约类型而非挂号类型 + // 数据链:Order → ScheduleSlot → SchedulePool → HealthcareService + try { + Order appointmentOrder = iOrderService.getOne( + new LambdaQueryWrapper() + .eq(Order::getPatientId, encounterFormData.getPatientId()) + .eq(Order::getStatus, CommonConstants.AppointmentOrderStatus.CHECKED_IN) + .eq(Order::getDeleteFlag, "0") + .orderByDesc(Order::getCreateTime) + .last("LIMIT 1") + ); + + if (appointmentOrder != null && appointmentOrder.getSlotId() != null) { + ScheduleSlot slot = scheduleSlotMapper.selectById(appointmentOrder.getSlotId()); + if (slot != null && slot.getPoolId() != null) { + SchedulePool pool = schedulePoolMapper.selectById(slot.getPoolId()); + if (pool != null && pool.getRegType() != null) { + // pool.getRegType() 存储号别名称如"普通号-预约",精确匹配 HealthcareService + HealthcareService appointmentHealthcareService = healthcareServiceService.getOne( + new LambdaQueryWrapper() + .eq(HealthcareService::getOfferedOrgId, encounterFormData.getOrganizationId()) + .eq(HealthcareService::getDeleteFlag, "0") + .eq(HealthcareService::getName, pool.getRegType()) + .last("LIMIT 1") + ); + + if (appointmentHealthcareService != null) { + encounterFormData.setServiceTypeId(appointmentHealthcareService.getId()); + encounterFormData.setOrderId(appointmentOrder.getId()); + logger.info("预约签到挂号修正serviceTypeId={},号别={}", + appointmentHealthcareService.getId(), pool.getRegType()); + } else { + // 精确匹配失败,尝试 LIKE 匹配 + appointmentHealthcareService = healthcareServiceService.getOne( + new LambdaQueryWrapper() + .eq(HealthcareService::getOfferedOrgId, encounterFormData.getOrganizationId()) + .eq(HealthcareService::getDeleteFlag, "0") + .like(HealthcareService::getName, pool.getRegType()) + .last("LIMIT 1") + ); + if (appointmentHealthcareService != null) { + encounterFormData.setServiceTypeId(appointmentHealthcareService.getId()); + encounterFormData.setOrderId(appointmentOrder.getId()); + logger.info("预约签到挂号(LIKE)serviceTypeId={},号别={}", + appointmentHealthcareService.getId(), pool.getRegType()); + } + } + } + } + } + } catch (Exception e) { + logger.warn("修正serviceTypeId失败,不影响挂号流程", e); + } + // 保存就诊信息 Encounter encounter = new Encounter(); BeanUtils.copyProperties(encounterFormData, encounter); diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml index 2612a744..3d86e881 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml @@ -50,6 +50,7 @@ T9.organization_id AS organizationId, T9.organization_name AS organizationName, T9.healthcare_name AS healthcareName, + T9.clinic_room AS clinicRoom, -- Bug #410:诊室名称 T9.practitioner_user_id AS practitionerUserId, T9.practitioner_name AS practitionerName, T9.contract_name AS contractName, @@ -99,10 +100,12 @@ T18.identifier_no AS identifier_no, T1.order_id AS order_id, om.slot_id AS slot_id, - ss.pool_id AS pool_id + ss.pool_id AS pool_id, + sp.clinic_room AS clinic_room -- Bug #410:从号源池获取诊室 FROM adm_encounter AS T1 LEFT JOIN order_main AS om ON T1.order_id = om.id AND om.delete_flag = '0' LEFT JOIN adm_schedule_slot AS ss ON om.slot_id = ss.id AND ss.delete_flag = '0' + LEFT JOIN adm_schedule_pool AS sp ON ss.pool_id = sp.id AND sp.delete_flag = '0' -- Bug #410 LEFT JOIN adm_organization AS T2 ON T1.organization_id = T2.ID AND T2.delete_flag = '0' LEFT JOIN adm_healthcare_service AS T3 ON T1.service_type_id = T3.ID AND T3.delete_flag = '0' LEFT JOIN ( diff --git a/openhis-ui-vue3/src/views/consultationmanagement/consultationconfirmation/index.vue b/openhis-ui-vue3/src/views/consultationmanagement/consultationconfirmation/index.vue index 53000b95..3a349614 100644 --- a/openhis-ui-vue3/src/views/consultationmanagement/consultationconfirmation/index.vue +++ b/openhis-ui-vue3/src/views/consultationmanagement/consultationconfirmation/index.vue @@ -177,7 +177,7 @@ 已确认
- {{ opinion.opinion }} + {{ formatOpinionContent(opinion.opinion) }}