From ab2884ade73fed97d1e7d7daf4b9b5b6dee83fdd Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 29 十月 2026 09:26:12 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java
index 40b2e37..53e8ae5 100644
--- a/smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java
@@ -1,7 +1,10 @@
 package com.smartor.service.impl;
 
-import com.smartor.domain.PerSonWorkbenchDto;
-import com.smartor.mapper.PatArchiveOutMapper;
+import com.ruoyi.outpatientvisit.domain.PatMedOuthosp;
+import com.ruoyi.outpatientvisit.domain.PatMedOuthospQueryReq;
+import com.ruoyi.patarchive.domain.PerSonWorkbenchDto;
+import com.ruoyi.patarchive.mapper.PatArchiveOutMapper;
+import com.ruoyi.outpatientvisit.mapper.PatMedOuthospMapper;
 import com.smartor.service.PersonWorkbenchService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
@@ -20,12 +23,16 @@
     @Autowired
     private PatArchiveOutMapper patArchiveOutMapper;
 
+    @Autowired
+    private PatMedOuthospMapper patMedOuthospMapper;
+
     @Override
-    public List<PerSonWorkbenchDto> getPatCount(String detpId, String drCode) {
-        long[] deptIds = Arrays.stream(detpId.split(",")).mapToLong(Long::parseLong).toArray();
+    public List<PerSonWorkbenchDto> getPatCount(String deptcode, String drCode) {
+        List<String> deptIds = Arrays.asList(deptcode.split(","));
         String[] drCodes = drCode.split(",");
 
         List<PerSonWorkbenchDto> perSonWorkbenchDtos = patArchiveOutMapper.selectPatArchiveCount(deptIds, drCodes);
+
         return perSonWorkbenchDtos;
     }
 }

--
Gitblit v1.9.3