From b28126cc4331998f4debc0e27081a44f81009b3c Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期一, 15 九月 2025 10:55:41 +0800
Subject: [PATCH] 出院过率条件改成inhospstate=1
---
smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml | 2 +-
ruoyi-admin/src/main/resources/application-druid.yml | 10 +++-------
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml
index ce28524..25d825f 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-druid.yml
@@ -113,14 +113,10 @@
multi-statement-allow: true
# redis 閰嶇疆
redis:
-# host: 192.168.100.10
-# port: 6020
-# database: 0
-# password: Smartor
- host: 127.0.0.1
- port: 6379
+ host: 192.168.100.10
+ port: 6020
database: 0
- password:
+ password: Smartor
# 杩炴帴瓒呮椂鏃堕棿
timeout: 10s
lettuce:
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index 272f207..351aab6 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -249,7 +249,7 @@
<if test="wardcheckFlag != null ">and b.wardcheck_flag = #{wardcheckFlag}</if>
<if test="diagcheckFlag != null ">and b.diagcheck_flag = #{diagcheckFlag}</if>
<if test="cry != null and cry == 0 ">and b.endtime is null</if>
- <if test="cry != null and cry == 1 ">and b.endtime is not null</if>
+ <if test="cry != null and cry == 1 ">and b.inhospstate=1</if>
<if test="inhospstate != null ">and b.inhospstate = #{inhospstate}</if>
<if test="schemestatus != null ">and b.schemestatus = #{schemestatus}</if>
<if test="outWayId != null ">and b.out_way_id = #{outWayId}</if>
--
Gitblit v1.9.3