Browse Source

厦门出院统计主刀医生支持模糊查询

wangsy 3 năm trước cách đây
mục cha
commit
75612aeb11
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 2 - 2
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -8083,10 +8083,10 @@
         </if>
         <if test='qcResultShortPageVO.isPlacefile != null and qcResultShortPageVO.isPlacefile != "" and qcResultShortPageVO.isPlacefile == "1" and qcResultShortPageVO.hospitalId == "7"'>
             <if test="qcResultShortPageVO.operationDoctor != null and qcResultShortPageVO.operationDoctor != ''">
-                AND t4.`operation_doctor_id` = #{qcResultShortPageVO.operationDoctor}
+                AND t4.`operation_doctor_id` like concat('%', #{qcResultShortPageVO.operationDoctor}, '%')
             </if>
             <if test="qcResultShortPageVO.operationLevel != null and qcResultShortPageVO.operationLevel != ''">
-                AND t4.`operation_level` = #{qcResultShortPageVO.operationLevel}
+                AND t4.`operation_level` like concat('%', #{qcResultShortPageVO.operationLevel}, '%')
             </if>
             GROUP BY
             t.behospitalCode