wangzl 1 місяць тому
батько
коміт
a69d706e6b

+ 3 - 0
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizReasearchQueueClinicMapper.xml

@@ -147,6 +147,9 @@
             <if test="query.queueId != null and query.queueId != '' ">
                 AND NOT EXISTS (SELECT 1  FROM biz_reasearch_queue_clinic brqc WHERE brqc.queue_id = #{query.queueId}  AND brqc.clinic_room_id = bcr.id)
             </if>
+            <if test="query.condition != null and query.condition != ''">
+                AND bcr.patient_name LIKE CONCAT('%', #{query.condition}, '%')
+            </if>
         </where>
     </select>
     <select id="stdSelectQuestionAnswerListAll" resultMap="QuestionAnswerListAll">