From c111e3eff1191b29d2d2baf2f485a4bf3a2edc00 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 16 八月 2025 14:34:07 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java index b833b1a..79115c7 100644 --- a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java +++ b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java @@ -127,17 +127,17 @@ @Override public PatMedRes selectPatMedInhospListCount(PatMedReq patMedReq) { PatMedRes patMedRes = null; - // 鑾峰彇褰撳墠鐧婚檰浜虹殑閮ㄩ棬鏉冮檺 - if (org.springframework.util.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); - patMedRes = patMedInhospMapper.selectPatMedInhospCount(patMedReq); - } +// // 鑾峰彇褰撳墠鐧婚檰浜虹殑閮ㄩ棬鏉冮檺 +// if (org.springframework.util.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); +// } + patMedRes = patMedInhospMapper.selectPatMedInhospCount(patMedReq); return patMedRes; } -- Gitblit v1.9.3