From 69123c8bf13ccb27539b0475e626c6c95c0ea6bb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 17 四月 2024 12:29:01 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/PatHetaskRelevanceMapper.xml |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatHetaskRelevanceMapper.xml b/smartor/src/main/resources/mapper/smartor/PatHetaskRelevanceMapper.xml
index 1b2f9c8..7702171 100644
--- a/smartor/src/main/resources/mapper/smartor/PatHetaskRelevanceMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatHetaskRelevanceMapper.xml
@@ -15,8 +15,8 @@
         <result property="name" column="name"/>
         <result property="age" column="age"/>
         <result property="sex" column="sex"/>
-        <result property="bedno" column="bed_no"/>
-        <result property="dept" column="dept"/>
+        <result property="bedNo" column="bed_no"/>
+        <result property="deptName" column="dept"/>
         <result property="icdName" column="icd_name"/>
         <result property="phone" column="phone"/>
         <result property="medicalRecordNo" column="medical_record_no"/>
@@ -61,8 +61,8 @@
             <if test="name != null  and name != ''">and name like concat('%', #{name}, '%')</if>
             <if test="age != null ">and age = #{age}</if>
             <if test="sex != null ">and sex = #{sex}</if>
-            <if test="bedno != null ">and bed_no = #{bedno}</if>
-            <if test="dept != null  and dept != ''">and dept = #{dept}</if>
+            <if test="bedNo != null ">and bed_no = #{bedNo}</if>
+            <if test="deptName != null  and deptName != ''">and dept = #{deptName}</if>
             <if test="phone != null  and phone != ''">and phone = #{phone}</if>
             <if test="medicalRecordNo != null  and medicalRecordNo != ''">and medical_record_no = #{medicalRecordNo}
             </if>
@@ -92,8 +92,8 @@
             <if test="name != null">name,</if>
             <if test="age != null">age,</if>
             <if test="sex != null">sex,</if>
-            <if test="bedno != null">bed_no,</if>
-            <if test="dept != null">dept,</if>
+            <if test="bedNo != null">bed_no,</if>
+            <if test="deptName != null">dept,</if>
             <if test="icdName != null">icd_name,</if>
             <if test="phone != null">phone,</if>
             <if test="medicalRecordNo != null">medical_record_no,</if>
@@ -113,8 +113,8 @@
             <if test="name != null">#{name},</if>
             <if test="age != null">#{age},</if>
             <if test="sex != null">#{sex},</if>
-            <if test="bedno != null">#{bedno},</if>
-            <if test="dept != null">#{dept},</if>
+            <if test="bedNo != null">#{bedNo},</if>
+            <if test="deptName != null">#{deptName},</if>
             <if test="icdName != null">#{icdName},</if>
             <if test="phone != null">#{phone},</if>
             <if test="medicalRecordNo != null">#{medicalRecordNo},</if>
@@ -138,8 +138,8 @@
             <if test="name != null">name = #{name},</if>
             <if test="age != null">age = #{age},</if>
             <if test="sex != null">sex = #{sex},</if>
-            <if test="bedno != null">bed_no = #{bedno},</if>
-            <if test="dept != null">dept = #{dept},</if>
+            <if test="bedNo != null">bed_no = #{bedNo},</if>
+            <if test="deptName != null">dept = #{deptName},</if>
             <if test="icdName != null">icd_name = #{icdName},</if>
             <if test="phone != null">phone = #{phone},</if>
             <if test="medicalRecordNo != null">medical_record_no = #{medicalRecordNo},</if>
@@ -166,4 +166,4 @@
             #{id}
         </foreach>
     </delete>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3