|
@@ -319,7 +319,7 @@
|
|
|
join (select * from bus_patient
|
|
join (select * from bus_patient
|
|
|
<where>
|
|
<where>
|
|
|
<if test="query.patientCode != null">
|
|
<if test="query.patientCode != null">
|
|
|
- and patient_code like concat('%',#{query.patientCode},'%')
|
|
|
|
|
|
|
+ and code like concat('%',#{query.patientCode},'%')
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
) as p on p.id = c.patient_id
|
|
) as p on p.id = c.patient_id
|