This commit is contained in:
liuhongrui
2025-03-11 17:43:25 +08:00
parent 7d16b35f6f
commit d4ad922cac

View File

@@ -44,11 +44,11 @@
<!-- 门诊号 查询条件--> <!-- 门诊号 查询条件-->
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''"> <if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''">
AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%') AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%')
</if> </if>
<!-- 处方号 查询条件--> <!-- 处方号 查询条件-->
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''"> <if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''">
AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%') AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%')
</if> </if>
<!-- 手机号 查询条件--> <!-- 手机号 查询条件-->
@@ -94,12 +94,12 @@
<!-- 门诊号 查询条件--> <!-- 门诊号 查询条件-->
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''"> <if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''">
AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%') AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%')
</if> </if>
<!-- 处方号 查询条件--> <!-- 处方号 查询条件-->
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''"> <if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''">
AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%') AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%')
</if> </if>
<!-- 手机号 查询条件--> <!-- 手机号 查询条件-->