|
@@ -98,7 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maps.doctorType2Id != null and maps.doctorType2Id != ''"> and fui.doctor_type2_id = #{maps.doctorType2Id}</if>
|
|
<if test="maps.doctorType2Id != null and maps.doctorType2Id != ''"> and fui.doctor_type2_id = #{maps.doctorType2Id}</if>
|
|
|
<if test="maps.doctorType2Confirm != null"> and fui.doctor_type2_confirm = #{maps.doctorType2Confirm}</if>
|
|
<if test="maps.doctorType2Confirm != null"> and fui.doctor_type2_confirm = #{maps.doctorType2Confirm}</if>
|
|
|
<if test="maps.packageOrderCode != null and maps.packageOrderCode != ''"> and fui.package_order_code = #{maps.packageOrderCode}</if>
|
|
<if test="maps.packageOrderCode != null and maps.packageOrderCode != ''"> and fui.package_order_code = #{maps.packageOrderCode}</if>
|
|
|
- <if test="maps.patientName != null and maps.patientName != ''"> and fp.patient_name like contact(#{maps.patientName},"%")</if>
|
|
|
|
|
|
|
+ <if test="maps.patientName != null and maps.patientName != ''"> and fp.patient_name like concat(#{maps.patientName},"%")</if>
|
|
|
</where>
|
|
</where>
|
|
|
order by id desc
|
|
order by id desc
|
|
|
</select>
|
|
</select>
|