From 6393d6ba70099f1b47f4124e06426f016fb28052 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 01 七月 2025 14:59:58 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 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 6923908..7b26833 100644 --- a/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java +++ b/smartor/src/main/java/com/smartor/service/impl/PatMedOuthospServiceImpl.java @@ -116,16 +116,16 @@ @Override public PatMedRes selectPatMedOuthospCount(PatMedReq patMedReq) { - // 鑾峰彇褰撳墠鐧婚檰浜虹殑閮ㄩ棬鏉冮檺 - if (CollectionUtils.isEmpty(patMedReq.getDeptcodeList())) { - Long userId = SecurityUtils.getUserId(); - List<SysDept> sysDepts = sysUserDeptMapper.selectDeptListByUserId(userId); - List<String> deptCode = new ArrayList<>(); - for (SysDept sysDept : sysDepts) { - deptCode.add(sysDept.getDeptId().toString()); - } - patMedReq.setDeptcodeList(deptCode); - } +// // 鑾峰彇褰撳墠鐧婚檰浜虹殑閮ㄩ棬鏉冮檺 +// if (CollectionUtils.isEmpty(patMedReq.getDeptcodeList())) { +// Long userId = SecurityUtils.getUserId(); +// List<SysDept> sysDepts = sysUserDeptMapper.selectDeptListByUserId(userId); +// List<String> deptCode = new ArrayList<>(); +// for (SysDept sysDept : sysDepts) { +// deptCode.add(sysDept.getDeptId().toString()); +// } +// patMedReq.setDeptcodeList(deptCode); +// } return patMedOuthospMapper.selectPatMedOuthospCount(patMedReq); } -- Gitblit v1.9.3