|
|
@@ -96,8 +96,8 @@
|
|
|
and bcr.clinic_status = #{source.clinicStatus ,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="source.queryCondition != null and source.queryCondition != ''">
|
|
|
- and bcr.patient_code LIKE concat('%',#{source.queryCondition,jdbcType=VARCHAR},'%')
|
|
|
- or bcr.patient_name like concat('%',#{source.queryCondition,jdbcType=VARCHAR},'%')
|
|
|
+ and (bcr.patient_code LIKE concat('%',#{source.queryCondition,jdbcType=VARCHAR},'%')
|
|
|
+ or bcr.patient_name like concat('%',#{source.queryCondition,jdbcType=VARCHAR},'%'))
|
|
|
</if>
|
|
|
<if test="source.currentUserId != null and source.currentUserId != ''">
|
|
|
and bcrmu.user_id = #{source.currentUserId,jdbcType=VARCHAR}
|