From cc479e6a056785103996cc7ea67dbd5faa3e800e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 19 十月 2026 18:07:22 +0800
Subject: [PATCH] 数据采集模块

---
 smartor/src/main/resources/mapper/smartor/HospitalUserinfoMapper.xml |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/HospitalUserinfoMapper.xml b/smartor/src/main/resources/mapper/smartor/HospitalUserinfoMapper.xml
index 3a23219..be3988e 100644
--- a/smartor/src/main/resources/mapper/smartor/HospitalUserinfoMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HospitalUserinfoMapper.xml
@@ -8,7 +8,10 @@
         <result property="ID" column="ID"/>
         <result property="SourceSystem" column="SourceSystem"/>
         <result property="MessageID" column="MessageID"/>
-        <result property="CreateTime" column="CreateTime"/>
+        <!-- 鍘熶负 property="CreateTime"锛氬疄浣撲笂鍙湁 createTime锛堝叾浣� ID/SourceSystem/MessageID/
+             PatientID 绛夊ぇ鍐欏睘鎬у湪瀹炰綋閲岀‘鏈夊悓鍚嶅瓧娈碉紝鍙湁杩欎釜娌℃湁锛夛紝
+             缁撴灉鏄犲皠浼氭姏 ReflectionException: no setter for 'CreateTime'銆� -->
+        <result property="createTime" column="CreateTime"/>
         <result property="MethodName" column="MethodName"/>
         <result property="ReqIimRules" column="ReqIimRules"/>
         <result property="PatientID" column="PatientID"/>
@@ -183,10 +186,10 @@
 
     <select id="selectHospitalUserinfoList" parameterType="HospitalUserinfo" resultMap="HospitalUserinfoResult">
         <include refid="selectHospitalUserinfoVo"/>
-        <where>
+        where 1=1
             <if test="SourceSystem != null  and SourceSystem != ''">and SourceSystem = #{SourceSystem}</if>
             <if test="MessageID != null  and MessageID != ''">and MessageID = #{MessageID}</if>
-            <if test="CreateTime != null  and CreateTime != ''">and CreateTime = #{CreateTime}</if>
+            <if test="createTime != null  and createTime != ''">and CreateTime = #{createTime}</if>
             <if test="MethodName != null  and MethodName != ''">and MethodName like concat('%', #{MethodName}, '%')</if>
             <if test="ReqIimRules != null  and ReqIimRules != ''">and ReqIimRules = #{ReqIimRules}</if>
             <if test="PatientID != null  and PatientID != ''">and PatientID = #{PatientID}</if>
@@ -283,7 +286,6 @@
             <if test="Bednur != null  and Bednur != ''">and Bednur = #{Bednur}</if>
             <if test="Regdoc != null  and Regdoc != ''">and Regdoc = #{Regdoc}</if>
             <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
-        </where>
     </select>
 
     <select id="selectHospitalUserinfoByID" parameterType="Long" resultMap="HospitalUserinfoResult">
@@ -296,7 +298,7 @@
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="SourceSystem != null">SourceSystem,</if>
             <if test="MessageID != null">MessageID,</if>
-            <if test="CreateTime != null  and CreateTime != ''">CreateTime,</if>
+            <if test="createTime != null  and createTime != ''">CreateTime,</if>
             <if test="MethodName != null">MethodName,</if>
             <if test="ReqIimRules != null">ReqIimRules,</if>
             <if test="PatientID != null">PatientID,</if>
@@ -382,7 +384,7 @@
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="SourceSystem != null">#{SourceSystem},</if>
             <if test="MessageID != null">#{MessageID},</if>
-            <if test="CreateTime != null and CreateTime != ''">#{CreateTime},</if>
+            <if test="createTime != null and createTime != ''">#{createTime},</if>
             <if test="MethodName != null">#{MethodName},</if>
             <if test="ReqIimRules != null">#{ReqIimRules},</if>
             <if test="PatientID != null">#{PatientID},</if>
@@ -472,7 +474,7 @@
         <trim prefix="SET" suffixOverrides=",">
             <if test="SourceSystem != null">SourceSystem = #{SourceSystem},</if>
             <if test="MessageID != null">MessageID = #{MessageID},</if>
-            <if test="CreateTime != null">CreateTime = #{CreateTime},</if>
+            <if test="createTime != null">CreateTime = #{createTime},</if>
             <if test="MethodName != null">MethodName = #{MethodName},</if>
             <if test="ReqIimRules != null">ReqIimRules = #{ReqIimRules},</if>
             <if test="PatientID != null">PatientID = #{PatientID},</if>
@@ -563,7 +565,7 @@
         <trim prefix="SET" suffixOverrides=",">
             <if test="SourceSystem != null">SourceSystem = #{SourceSystem},</if>
             <if test="MessageID != null">MessageID = #{MessageID},</if>
-            <if test="CreateTime != null">CreateTime = #{CreateTime},</if>
+            <if test="createTime != null">CreateTime = #{createTime},</if>
             <if test="MethodName != null">MethodName = #{MethodName},</if>
             <if test="ReqIimRules != null">ReqIimRules = #{ReqIimRules},</if>
             <if test="PatientID != null">PatientID = #{PatientID},</if>

--
Gitblit v1.9.3