From 6a53d35b5d56e2f6bc64bbfe41579f6f32039c90 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 24 三月 2026 15:24:33 +0800
Subject: [PATCH] 【丽水】随访增加 人工随访超时状态

---
 smartor/src/main/java/com/smartor/service/impl/PersonWorkbenchServiceImpl.java |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 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..de0b93f 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.PatMedOuthosp;
+import com.smartor.domain.PatMedOuthospQueryReq;
 import com.smartor.domain.PerSonWorkbenchDto;
 import com.smartor.mapper.PatArchiveOutMapper;
+import com.smartor.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