|
|
@@ -49,12 +49,11 @@
|
|
|
<where>
|
|
|
and bcr.deleted=0 and bcrwu.wx_user_id = #{query.userId}
|
|
|
<if test="query.patientCode != null and query.patientCode != ''">
|
|
|
- bcr.patient_code like concat('',#{query.patientCode},'')
|
|
|
+ and bcr.patient_code like concat('%',#{query.patientCode},'%')
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
-
|
|
|
<select id="selectByClinicRoomAndPatientList" resultMap="RoomAndPatient">
|
|
|
SELECT bcr.id,
|
|
|
bcr.clinic_name,
|