Browse Source

int类型的xml判断处理调整

wangmiaomiao 11 months ago
parent
commit
035404a2e5

+ 2 - 2
slibra-system/src/main/resources/mapper/business/TXinyiChatRecordMapper.xml

@@ -37,7 +37,7 @@
             1 = 1
             1 = 1
             <if test="sessionId != null  and sessionId != ''"> and session_id = #{sessionId}</if>
             <if test="sessionId != null  and sessionId != ''"> and session_id = #{sessionId}</if>
             <if test="type != null "> and type = #{type}</if>
             <if test="type != null "> and type = #{type}</if>
-            <if test="module != null  and module != ''"> and module = #{module}</if>
+            <if test="module != null "> and module = #{module}</if>
             <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
             <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
             <if test="showVal != null  and showVal != ''"> and show_val = #{showVal}</if>
             <if test="showVal != null  and showVal != ''"> and show_val = #{showVal}</if>
             <if test="question != null  and question != ''"> and question = #{question}</if>
             <if test="question != null  and question != ''"> and question = #{question}</if>
@@ -58,7 +58,7 @@
             1 = 1 and counts = 1
             1 = 1 and counts = 1
             <if test="sessionId != null  and sessionId != ''"> and session_id = #{sessionId}</if>
             <if test="sessionId != null  and sessionId != ''"> and session_id = #{sessionId}</if>
             <if test="type != null "> and type = #{type}</if>
             <if test="type != null "> and type = #{type}</if>
-            <if test="module != null  and module != ''"> and module = #{module}</if>
+            <if test="module != null "> and module = #{module}</if>
             <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
             <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
             <if test="showVal != null  and showVal != ''"> and show_val = #{showVal}</if>
             <if test="showVal != null  and showVal != ''"> and show_val = #{showVal}</if>
             <if test="question != null  and question != ''"> and question = #{question}</if>
             <if test="question != null  and question != ''"> and question = #{question}</if>