From 69f18ff49510ea52a3a7ec40019e18343141c63a Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 27 四月 2026 11:01:06 +0800
Subject: [PATCH] 【丽水】导出柱状图、折线图、饼状图方法补全

---
 smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java
index b0e83b2..97496b2 100644
--- a/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java
@@ -76,6 +76,11 @@
         PatMedOuthospQueryReq patMedOuthospQueryReq = DtoConversionUtils.sourceToTarget(patMedOuthosp, PatMedOuthospQueryReq.class);
         patMedOuthospQueryReq.setBeginAdmitdate(patMedOuthosp.getBeginTime());
         patMedOuthospQueryReq.setEndAdmitdate(patMedOuthosp.getEndTime());
+        if(!CollectionUtils.isEmpty(patMedOuthosp.getDeptcodes())) {
+            String result = String.join(",",   patMedOuthosp.getDeptcodes());
+            patMedOuthospQueryReq.setDeptcode(result);
+        }
+
         List<PatMedOuthosp> patMedOuthospQueryResps = patMedOuthospMapper.callSpQueryOuthosp(patMedOuthospQueryReq);
         if (patMedOuthosp.getPageNum() != null) {
             for (PatMedOuthosp patMedOuthosp1 : patMedOuthospQueryResps) {

--
Gitblit v1.9.3