|
|
@@ -128,9 +128,9 @@
|
|
|
<if test="query.doctorDrugId != null">
|
|
|
AND hps.doctor_drug_id = #{query.doctorDrugId}
|
|
|
</if>
|
|
|
- <if test="query.type != null">
|
|
|
- AND hps.type = #{query.type}
|
|
|
- </if>
|
|
|
+<!-- <if test="query.type != null">-->
|
|
|
+<!-- AND hps.type = #{query.type}-->
|
|
|
+<!-- </if>-->
|
|
|
<if test="query.patientName != null and query.patientName != ''">
|
|
|
AND hps.patient_name LIKE CONCAT('%', #{query.patientName}, '%')
|
|
|
</if>
|