From 6994c4ae328dc6e41ab98f183774c7ffdc9b5dbf Mon Sep 17 00:00:00 2001
From: zhs <zhs18203887318@163.com>
Date: 星期三, 16 四月 2025 17:48:41 +0800
Subject: [PATCH] 04-16改数据采集-入科
---
smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index 95018be..fe8050e 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -66,7 +66,7 @@
<result property="fuperiod" column="fuperiod"/>
<result property="futypecode" column="futypecode"/>
<result property="futypedesc" column="futypedesc"/>
- <result property="fuadivce" column="fuadivce"/>
+ <result property="fuadvice" column="fuadvice"/>
<result property="fuspecialadvice" column="fuspecialadvice"/>
</resultMap>
@@ -78,7 +78,7 @@
fuperiod,
futypecode,
futypedesc,
- fuadivce,
+ fuadvice,
fuspecialadvice,
remark,
guid,
@@ -190,7 +190,7 @@
b.fuperiod,
b.futypecode,
b.futypedesc,
- b.fuadivce,
+ b.fuadvice,
b.fuspecialadvice
FROM
pat_med_inhosp b
@@ -230,7 +230,7 @@
<if test="endtime != null ">and b.endtime = #{endtime}</if>
<if test="patno != null ">and b.patno = #{patno}</if>
<if test="nurseId != null ">and b.nurse_id = #{nurseId}</if>
- <if test="nurseName != null ">and b.nurse_name = #{nurseName}</if>
+ <if test="nurseName != null and nurseName != ''">and b.nurse_name = #{nurseName}</if>
<if test="checkFlag != null ">and b.check_flag = #{checkFlag}</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>
@@ -334,7 +334,7 @@
b.fuperiod,
b.futypecode,
b.futypedesc,
- b.fuadivce,
+ b.fuadvice,
b.fuspecialadvice
b.schemetime
FROM
@@ -455,7 +455,7 @@
<if test="fuperiod != null ">fuperiod,</if>
<if test="futypecode != null ">futypecode,</if>
<if test="futypedesc != null ">futypedesc,</if>
- <if test="fuadivce != null ">fuadivce,</if>
+ <if test="fuadvice != null ">fuadvice,</if>
<if test="fuspecialadvice != null ">fuspecialadvice,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -515,7 +515,7 @@
<if test="fuperiod != null ">#{fuperiod},</if>
<if test="futypecode != null ">#{futypecode},</if>
<if test="futypedesc != null ">#{futypedesc},</if>
- <if test="fuadivce != null ">#{fuadivce},</if>
+ <if test="fuadvice != null ">#{fuadvice},</if>
<if test="fuspecialadvice != null ">#{fuspecialadvice},</if>
</trim>
</insert>
@@ -578,7 +578,7 @@
<if test="fuperiod != null ">fuperiod = #{fuperiod},</if>
<if test="futypecode != null ">futypecode = #{futypecode},</if>
<if test="futypedesc != null ">futypedesc = #{futypedesc},</if>
- <if test="fuadivce != null ">fuadivce = #{fuadivce},</if>
+ <if test="fuadvice != null ">fuadvice = #{fuadvice},</if>
<if test="fuspecialadvice != null ">fuspecialadvice = #{fuspecialadvice},</if>
</trim>
where inhospid = #{inhospid}
--
Gitblit v1.9.3