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 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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